$users->findByKey()
Finds a user in the collection by ID or email address
$users->findByKey(string $key): Kirby\Cms\User|nullParameters
| Name | Type | Default | 
|---|---|---|
| $keyrequired | string | no default value | 
Return types
Kirby\Cms\Userornull
This method modifies the existing $users object it is applied to and returns it again.