Symfony\Component\Security\Core\User\UserProviderInterface::loadUserByUsername
Loads the user for the given username.
This method must throw UsernameNotFoundException if the user is not found.
Signature
public function loadUserByUsername(string
$username )
Parameters
$username
— string- The username
Returns
- UserInterface
Errors/Exceptions
-
UsernameNotFoundException
- if the user is not found