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