Skip to content

Kirby 4.2.0

$segments->next()

Moves the cursor to the next element and returns it

$segments->next(): mixed|null

Return type

mixed|null

Parent class

Kirby\Query\Segments inherited from Kirby\Toolkit\Iterator