Skip to content

Kirby 4.2.0

$path->next()

Moves the cursor to the next element and returns it

$path->next(): mixed|null

Return type

mixed|null

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Iterator