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

[5.2] Allow Request::intersect() to accept argument list #13515

Merged
merged 2 commits into from
May 12, 2016

Conversation

mul14
Copy link
Contributor

@mul14 mul14 commented May 11, 2016

Similar to Request::only(), Request::except(), Request::exists(), etc; this PR will allow Request::intersect() to accept argument list.

For example:

// Before
request()->intersect(['name', 'email', 'username']);

// This PR
request()->intersect('name', 'email', 'username');

@taylorotwell taylorotwell merged commit c71d168 into laravel:5.2 May 12, 2016
@muhghazaliakbar
Copy link

cool

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.

3 participants