Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[5.2] Intersect Method for Illuminate Request#13167

Merged
taylorotwell merged 1 commit into
laravel:5.2from
AdenFraser:IlluminateRequestIntersectMethod-5-2
Apr 15, 2016
Merged

[5.2] Intersect Method for Illuminate Request#13167
taylorotwell merged 1 commit into
laravel:5.2from
AdenFraser:IlluminateRequestIntersectMethod-5-2

Conversation

@AdenFraser
Copy link
Copy Markdown
Contributor

No description provided.

@JosephSilber
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

@JosephSilber #13162 exists too. ;)

@JosephSilber
Copy link
Copy Markdown
Contributor

JosephSilber commented Apr 14, 2016 via email

@AdenFraser
Copy link
Copy Markdown
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