Skip to content

Kirby 6.0.0

$items->getIterator()

Returns an iterator for the elements

$items->getIterator(): Iterator

Return type

Iterator<string, Kirby\Cms\Item>

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Iterator