UserProviderInterface::loadUserByUsername()

UserInterface loadUserByUsername(string $username)

Loads the user for the given username.

This method must throw UsernameNotFoundException if the user is not found.

Parameters

string $username The username

Return Value

UserInterface

Exceptions

UsernameNotFoundException if the user is not found
doc_Symfony
2016-10-28 06:36:26
Comments
Leave a Comment

Please login to continue.