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