public function getUser()
    {
        static $authenticated;
        if (!isset($authenticated)) {
            $authenticated = true;
            $this->authenticateUser();
        }

        return $this->user;
    }
public function getUser()
    {
        static $authenticated;
        if (!isset($authenticated)) {
            $authenticated = true;
            $this->authenticateUser();
        }

        return $this->user;
    }
public function getUser ( ) { static $ authenticated ; if ( ! isset ( $ authenticated ) ) { $ authenticated = true ; $ this -> authenticateUser ( ) ; } return $ this -> user ; }
Retrieve the current user.

@return User
Retrieve the current user .