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

Updated throw_if and throw_unless helpers #19166

Merged
merged 2 commits into from
May 12, 2017
Merged

Updated throw_if and throw_unless helpers #19166

merged 2 commits into from
May 12, 2017

Conversation

sixlive
Copy link
Contributor

@sixlive sixlive commented May 11, 2017

Exceptions are heavy classes. This adds the ability to also pass the exception as a string so that it is only constructed when needed.

sixlive added 2 commits May 11, 2017 17:39
Exceptions are heavy classes. This adds the ability to pass the
exception as a string so that it is only constructed when needed.
@taylorotwell taylorotwell merged commit 7f42040 into laravel:master May 12, 2017
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