public function logout()
    {
        setcookie($this->config->getCookieName(), '', time() - 3600); // Remove client-side cookie.
        unlink($this->config->getSessionFileName()); // Delete session file.
    }
public function logout()
    {
        setcookie($this->config->getCookieName(), '', time() - 3600); // Remove client-side cookie.
        unlink($this->config->getSessionFileName()); // Delete session file.
    }
public function logout ( ) { setcookie ( $ this -> config -> getCookieName ( ) , '' , time ( ) - 3600 ) ; // Remove client-side cookie. unlink ( $ this -> config -> getSessionFileName ( ) ) ; // Delete session file. }
Logs the currently authenticated user out.
Logs the currently authenticated user out .