class UsernameDriver implements DriverInterface

The default driver, which returns the user's username.

Methods

string
displayName(User $user)

<p>Return a display name for a user.</p>

Details

string displayName(User $user)

<p>Return a display name for a user.</p>

Parameters

User $user

Return Value

string