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