$roles->key() Returns the current key kirby/src/Toolkit/Iterator.php#L44 $roles->key(): string|int|null Return type string|int|null Parent class Kirby\Cms\Roles inherited from Kirby\Toolkit\Iterator