Fucken Sie zwei Array (Laravel) zusammen
$foo = collect(Foo::all());
$bar = collect(Bar::all());
$merged = $foo->merge($bar);
Irfan
$foo = collect(Foo::all());
$bar = collect(Bar::all());
$merged = $foo->merge($bar);