Skip to content

Kirby 4.4.1

$roles->key()

Returns the current key

$roles->key(): string|int|null

Return type

string|int|null

Parent class

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