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