$users->findByKey()
Finds a user in the collection by id or email address
$users->findByKey(string $key): Kirby\Cms\User|null
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
Return type
Kirby\Cms\User
|null
Finds a user in the collection by id or email address
$users->findByKey(string $key): Kirby\Cms\User|null
Name | Type | Default |
---|---|---|
$key * | string |
– |
Kirby\Cms\User
|null