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] Intersect Method for Illuminate Request #13167

Merged

Conversation

AdenFraser
Copy link
Contributor

No description provided.

@JosephSilber
Copy link
Member

Given that array_only works this way, wouldn't it make more sense to simply change the way $request->only() works in 5.3?

@GrahamCampbell
Copy link
Member

@JosephSilber #13162 exists too. ;)

@JosephSilber
Copy link
Member

JosephSilber commented Apr 14, 2016 via email

@AdenFraser
Copy link
Contributor Author

@JosephSilber I agree, the Arr::only() / array_only method is the same as my proposed ::intersect, so really the Request::only() would make more sense to match as you say.

@GrahamCampbell GrahamCampbell changed the title Intersect Method for Illuminate Request [5.2] Intersect Method for Illuminate Request Apr 14, 2016
@taylorotwell taylorotwell merged commit 913487a into laravel:5.2 Apr 15, 2016
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.

4 participants