$user->id()
Returns the user id
$user->id(): string
Return type
string
This method modifies the existing $user
object it is applied to and returns it again.
Returns the user id
$user->id(): string
string
This method modifies the existing $user
object it is applied to and returns it again.