$roles->getIterator()
Get an iterator for the items.
$roles->getIterator(): ArrayIteratorReturn type
ArrayIterator
Parent class
  Kirby\Cms\Roles    inherited from Kirby\Toolkit\Iterator  
Get an iterator for the items.
$roles->getIterator(): ArrayIteratorArrayIterator
  Kirby\Cms\Roles    inherited from Kirby\Toolkit\Iterator