public function setUser(UserInterface $user)
    {
        $this->user = $user;

        $this->loggedOut = false;

        return $this;
    }
public function setUser(UserInterface $user)
    {
        $this->user = $user;

        $this->loggedOut = false;

        return $this;
    }
public function setUser ( UserInterface $ user ) { $ this -> user = $ user ; $ this -> loggedOut = false ; return $ this ; }
Set the current user of the application.

@param  \Auth\UserInterface  $user
@return void
Set the current user of the application .