Skip to content

Kirby 5.0.4

$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

Kirby\Cms\Files

This method modifies the existing $file object it is applied to and returns it again.

Parent class

Kirby\Cms\File