$segments->getIterator() Get an iterator for the items. kirby/src/Toolkit/Iterator.php#L36 $segments->getIterator(): ArrayIterator Return type ArrayIterator Parent class Kirby\Query\Segments inherited from Kirby\Toolkit\Iterator