Skip to content

Kirby 5.0.2

$collection->next()

Moves the cursor to the next element and returns it

$collection->next(): TValue

Return type

TValue

Parent class

Kirby\Toolkit\Collection inherited from Kirby\Toolkit\Iterator