Skip to content

Kirby 6.0.0

$roles->getIterator()

Returns an iterator for the elements

$roles->getIterator(): Iterator

Return type

Iterator<string, Kirby\Cms\Role>

Parent class

Kirby\Cms\Roles inherited from Kirby\Toolkit\Iterator