Skip to content

Kirby 5.1.1

$users->key()

Returns the current key

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

Return types

stringorintornull

This method modifies the existing $users object it is applied to and returns it again.

Parent class

Kirby\Cms\Users inherited from Kirby\Toolkit\Iterator