$collection->getIterator()
Get an iterator for the items.
Return type
ArrayIterator
Parent class
Kirby\Toolkit\Collection
inherited from Kirby\Toolkit\Iterator
Get an iterator for the items.
ArrayIterator
Kirby\Toolkit\Collection
inherited from Kirby\Toolkit\Iterator