$nestCollection->getIterator()
Returns an iterator for the elements
$nestCollection->getIterator(): Iterator
Return type
Iterator<string, Kirby\Cms\NestCollection|Kirby\Cms\NestObject|Kirby\Content\Field>
Parent class
Kirby\Cms\NestCollection
inherited from Kirby\Toolkit\Iterator