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