Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Merge Two Collection or Array


$users = User::all();
$associates = Associate::all();
$userAndAssociate = $users->concat($associates);
 
PREVIOUS NEXT
Tagged: #Merge #Two #Collection #Array
ADD COMMENT
Topic
Name
3+6 =