Skip to content

one can skip some fields during validation & save #731

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
Mar 14, 2018

Conversation

ilyagory
Copy link
Contributor

@ilyagory ilyagory commented Mar 14, 2018

One can skip fields during validating or saving the object. Just like

$user->skip('password')->save()

or

$user->skip(['password','email'])->save()

sometimes one needs to undo added skips. One needs

$user->skip(false)->save()

and there no more skips!

@avbdr avbdr merged commit e3497b7 into ThingEngineer:master Mar 14, 2018
@avbdr
Copy link
Collaborator

avbdr commented Mar 14, 2018

thank you!

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