$users->findByEmail()
Finds a user in the collection by email address only
$users->findByEmail(string $email): User|null
Parameters
| Name | Type | Default |
|---|---|---|
| $emailrequired | string |
no default value |
Return types
Kirby\Cms\Userornull
Finds a user in the collection by email address only
$users->findByEmail(string $email): User|null
| Name | Type | Default |
|---|---|---|
| $emailrequired | string |
no default value |
Kirby\Cms\Userornull