❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$collection->limit($limit)
Returns a new collection with a limited number of elements
$limit
(int)
The number of elements to return
return
($collection)
↑
Toolkit API overview
←
$collection->last()
→
$collection->map($callback)
↓
Back to Toolkit API section
Top