public function logout()
    {
        $this->user      = null;
        $this->loggedOut = true;

        $this->{Services::SESSION}->destroy();
        $this->{Services::COOKIES}->delete('remember_me');
    }
public function logout()
    {
        $this->user      = null;
        $this->loggedOut = true;

        $this->{Services::SESSION}->destroy();
        $this->{Services::COOKIES}->delete('remember_me');
    }
public function logout ( ) { $ this -> user = null ; $ this -> loggedOut = true ; $ this -> { Services :: SESSION } -> destroy ( ) ; $ this -> { Services :: COOKIES } -> delete ( 'remember_me' ) ; }
Log out of the application
Log out of the application