Skip to content

Kirby 6.0.0

$lazyCollection->getIterator()

Returns an iterator for the elements

$lazyCollection->getIterator(): Iterator

Return type

Iterator<string, mixed>

Parent class

Kirby\Cms\LazyCollection