Skip to content

Kirby 4.4.1

$collection->getIterator()

Get an iterator for the items.

$collection->getIterator(): ArrayIterator

Return type

ArrayIterator

Parent class

Kirby\Cms\Collection inherited from Kirby\Toolkit\Iterator