$path->next() Moves the cursor to the next element and returns it kirby/src/Toolkit/Iterator.php#L95 $path->next(): mixed Return type mixed Parent class Kirby\Http\Path inherited from Kirby\Toolkit\Iterator