Skip to content

Kirby 4.4.1

$files->next()

Moves the cursor to the next element and returns it

$files->next(): mixed|null

Return type

mixed|null

Parent class

Kirby\Cms\Files inherited from Kirby\Toolkit\Iterator