Skip to content
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

ORM model: save return object #15

Closed
thomas-netlor opened this issue Mar 28, 2017 · 0 comments
Closed

ORM model: save return object #15

thomas-netlor opened this issue Mar 28, 2017 · 0 comments
Assignees

Comments

@thomas-netlor
Copy link
Contributor

Is it possible to return object ($this) when use fonction save() from ORM/Model.php

Ex:

$obj = obj::build([])->save(); $obj->doSomething();

Maybe in merge() also ?

pips- added a commit to pips-/core that referenced this issue Mar 28, 2017
@pips- pips- self-assigned this Mar 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants