🌈 搜索
📅  最后修改于: 2022-03-11 14:54:02.156000             🧑  作者: Mango
$collection = collect([1, 2, 3, 4, 5]); $groups = $collection->split(3); $groups->toArray(); // [[1, 2], [3, 4], [5]]