📅  最后修改于: 2022-03-11 14:54:10.946000             🧑  作者: Mango
$collection = collect(['name', 'age']);
$combined = $collection->combine(['George', 29]);
$combined->all();
// ['name' => 'George', 'age' => 29]