Skip to content

Kirby 4.5.0

$structure->next()

Moves the cursor to the next element and returns it

$structure->next(): mixed|null

Return type

mixed|null

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Iterator