• Pavel Puchkin's avatar
    Even more fluent eloquent model via magic setters · 3a46721e
    Pavel Puchkin authored
    Now it is possible to use Eloquent's magic setters in chains. For example:
    
        $model->set_foo('foo')->take(10)->set_bar(some_function());
        // ...even though setters 'foo' and 'bar' are not defined on the model
    3a46721e
eloquent.test.php 7.19 KB