$item->prevAll()
Returns the beginning of the collection before the current item
$item->prevAll(Kirby\Cms\Items|null $collection = null): Kirby\Cms\Items
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Cms\Itemsornull |
null
|
Return type
This method modifies the existing $item object it is applied to and returns it again.