Skip to content

Even more fluent eloquent model via magic setters #1976

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2013

Conversation

neoascetic
Copy link
Contributor

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

neoascetic added 2 commits May 8, 2013 18:28
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
taylorotwell added a commit that referenced this pull request May 14, 2013
Even more fluent eloquent model via magic setters
@taylorotwell taylorotwell merged commit 86fc0ca into laravel:master May 14, 2013
@neoascetic neoascetic deleted the more_fluent_eloquent branch May 14, 2013 06:42
zoe-edwards pushed a commit to zoe-edwards/laravel that referenced this pull request Oct 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants