Symfony\Component\Security\Core\User\UserProviderInterface::refreshUser
Refreshes the user for the account interface.
It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map.
Signature
public function refreshUser(UserInterface
$user )
Parameters
Returns
- UserInterface
Errors/Exceptions
-
UnsupportedUserException
- if the account is not supported