Skip to content

Kirby 6.0.0

$pages->getIterator()

Returns an iterator for the elements

$pages->getIterator(): Iterator

Return type

Iterator<string, Kirby\Cms\Page>

Parent class

Kirby\Cms\Pages inherited from Kirby\Toolkit\Iterator