original_string: public function sweepProvider()
      {
          $user = $this->getUser();
          $hybridAuth = $this->getHybridAuth();
          // first test, if there is a connection at all
          // that prevents an authentification just for to logout
          if ($hybridAuth->isConnectedWith($this->providerKey)) {
              $this->getAdapter($this->providerKey)->logout();
          }
          $user->removeSessionData($this->providerKey);
          unset($this->adapter);
          return $this;
      }
code: public function sweepProvider()
      {
          $user = $this->getUser();
          $hybridAuth = $this->getHybridAuth();
          // first test, if there is a connection at all
          // that prevents an authentification just for to logout
          if ($hybridAuth->isConnectedWith($this->providerKey)) {
              $this->getAdapter($this->providerKey)->logout();
          }
          $user->removeSessionData($this->providerKey);
          unset($this->adapter);
          return $this;
      }
code_tokens: public function sweepProvider ( ) { $ user = $ this -> getUser ( ) ; $ hybridAuth = $ this -> getHybridAuth ( ) ; // first test, if there is a connection at all // that prevents an authentification just for to logout if ( $ hybridAuth -> isConnectedWith ( $ this -> providerKey ) ) { $ this -> getAdapter ( $ this -> providerKey ) -> logout ( ) ; } $ user -> removeSessionData ( $ this -> providerKey ) ; unset ( $ this -> adapter ) ; return $ this ; }
docstring: logout and clears the stored Session,
docstring_tokens: logout and clears the stored Session