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