src/Authentication/User/UserProviderSegmentalizer.php
public function refreshUser(UserInterface $user)
    {
        $username                     = $user->getUsername();
        $this->cachedUsers[$username] = $this->userProvider->refreshUser($user);
        return $this->cachedUsers[$username];
    }
public function refreshUser(UserInterface $user)
    {
        $username                     = $user->getUsername();
        $this->cachedUsers[$username] = $this->userProvider->refreshUser($user);
        return $this->cachedUsers[$username];
    }
public function refreshUser ( UserInterface $ user ) { $ username = $ user -> getUsername ( ) ; $ this -> cachedUsers [ $ username ] = $ this -> userProvider -> refreshUser ( $ user ) ; return $ this -> cachedUsers [ $ username ] ; }
Refresh user using source User Provider.
@param UserInterface $user
@return UserInterface
Refresh user using source User Provider .