public function clearContext()
    {
        $this->session->remove(self::KEY_SITE);
        $this->session->remove(self::KEY_LOCALE);
        $this->tokenStorage->getToken()->setAuthenticated(false);
    }
public function clearContext()
    {
        $this->session->remove(self::KEY_SITE);
        $this->session->remove(self::KEY_LOCALE);
        $this->tokenStorage->getToken()->setAuthenticated(false);
    }
public function clearContext ( ) { $ this -> session -> remove ( self :: KEY_SITE ) ; $ this -> session -> remove ( self :: KEY_LOCALE ) ; $ this -> tokenStorage -> getToken ( ) -> setAuthenticated ( false ) ; }
Clear saved context
Clear saved context