Skip to content

Kirby 6.0.0

$layouts->getIterator()

Returns an iterator for the elements

$layouts->getIterator(): Iterator

Return type

Iterator<string, Kirby\Cms\Layout>

Parent class

Kirby\Cms\Layouts inherited from Kirby\Toolkit\Iterator