$collection->getIterator()
Returns an iterator for the elements
$collection->getIterator(): Iterator
Return type
Iterator<string, mixed>
Parent class
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Iterator
Returns an iterator for the elements
$collection->getIterator(): Iterator
Iterator<string, mixed>
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Iterator