🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$files->toArray($callback = null)
Converts the collection to a simple array.
return
(array)
↑
Cheat Sheet overview
←
$files->sortBy($field, $direction = 'asc', $method = SORT_REGULAR)
→
$files->toJson()
↓
Back to Cheat Sheet section
Top