Skip to content

[5.8] Add mergeRecursive() method on collections - #29084

Merged
taylorotwell merged 2 commits into
laravel:5.8from
iamgergo:5.8
Jul 5, 2019
Merged

[5.8] Add mergeRecursive() method on collections#29084
taylorotwell merged 2 commits into
laravel:5.8from
iamgergo:5.8

Conversation

@iamgergo

@iamgergo iamgergo commented Jul 5, 2019

Copy link
Copy Markdown
Contributor

This PR implements the basic PHP array_merge_recursive behavior on the collection.

There can be some scenarios when a deep/recursive merge behavior is more appropriate than overriding the original collection items.

@taylorotwell
taylorotwell merged commit 5dafefb into laravel:5.8 Jul 5, 2019
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