$collection->next() Moves the cursor to the next element and returns it kirby/src/Toolkit/Iterator.php#L90 $collection->next(): TValue Copy Return type TValue Parent class Kirby\Toolkit\Collection inherited from Kirby\Toolkit\Iterator