$path->getIterator() Get an iterator for the items. kirby/src/Toolkit/Iterator.php#L47 $path->getIterator(): ArrayIterator Return type ArrayIterator Parent class Kirby\Http\Path inherited from Kirby\Toolkit\Iterator