Skip to content

Kirby 4.1.2

$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