Skip to content

Kirby 4.5.0

$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