$pages->getIterator() Get an iterator for the items. kirby/src/Toolkit/Iterator.php#L43 $pages->getIterator(): ArrayIterator Return type ArrayIterator Parent class Kirby\Cms\Pages inherited from Kirby\Toolkit\Iterator