public function logout()
    {
        $this->request("logout");
        $this->whoamiReset();

        $this->delStorage("_login_user");
        $this->delStorage("_login_pass");

        Signal::getInstance()->emit("notifyLogout", $this);
    }
public function logout()
    {
        $this->request("logout");
        $this->whoamiReset();

        $this->delStorage("_login_user");
        $this->delStorage("_login_pass");

        Signal::getInstance()->emit("notifyLogout", $this);
    }
public function logout ( ) { $ this -> request ( "logout" ) ; $ this -> whoamiReset ( ) ; $ this -> delStorage ( "_login_user" ) ; $ this -> delStorage ( "_login_pass" ) ; Signal :: getInstance ( ) -> emit ( "notifyLogout" , $ this ) ; }
Deselects the active virtual server and logs out from the server instance.

@return void
Deselects the active virtual server and logs out from the server instance .