class UsernameDriver implements DriverInterface

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

Methods

string
displayName(User $user)

Return a display name for a user.

Details

string displayName(User $user)

Return a display name for a user.

Parameters

User $user

Return Value

string