original_string: public function logoutAction()
      {
          if ($this->isAuthenticated()) {
              $this->session()->set('user', null);
          }
  
          $this->setMessage('success', 'Bye Bye !');
          return $this->redirect('/');
      }
code: public function logoutAction()
      {
          if ($this->isAuthenticated()) {
              $this->session()->set('user', null);
          }
  
          $this->setMessage('success', 'Bye Bye !');
          return $this->redirect('/');
      }
code_tokens: public function logoutAction ( ) { if ( $ this -> isAuthenticated ( ) ) { $ this -> session ( ) -> set ( 'user' , null ) ; } $ this -> setMessage ( 'success' , 'Bye Bye !' ) ; return $ this -> redirect ( '/' ) ; }
docstring: Handles the logout actions.
  
  @return \Symfony\Component\HttpFoundation\RedirectResponse
docstring_tokens: Handles the logout actions .