$user->changeEmail()
Changes the user email address
$user->changeEmail(string $email): Kirby\Cms\User
Parameters
Name | Type | Default |
---|---|---|
$email * | string |
– |
Return type
This method does not modify the existing $user
object but returns a new object with the changes applied. Learn more →