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 #Or #Array
ADD COMMENT
Topic
Name
2+6 =