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