$user->changeLanguage()
Changes the user language
Parameters
Name | Type | Default |
---|---|---|
$language * | string |
– |
Return type
This method does not modify the existing $user
object but returns a new object with the changes applied. Learn more →