Skip to content

Kirby 5.3.0

$users->getIterator()

Returns an iterator for the elements

$users->getIterator(): Iterator

Return type

Iterator<TKey, TValue>

This method modifies the existing $users object it is applied to and returns it again.

Parent class

Kirby\Cms\Users inherited from Kirby\Cms\LazyCollection