$roles->next() Moves the cursor to the next element and returns it kirby/src/Toolkit/Iterator.php#L78 $roles->next(): mixed|null Return type mixed|null Parent class Kirby\Cms\Roles inherited from Kirby\Toolkit\Iterator