📅  最后修改于: 2022-03-11 14:54:46.857000             🧑  作者: Mango
$collection = Collection::times(10, function ($number) {
return $number * 9;
});
$collection->all();
// [9, 18, 27, 36, 45, 54, 63, 72, 81, 90]