original_string: public function profileShow()
      {
          if (!$this->isAuthenticated()) {
              return $this->redirect('/login');
          }
  
          $userModel = $this->session()->get('user');
          return $this->twig()->render('User\profile.twig', array('user' => $userModel));
      }
code: public function profileShow()
      {
          if (!$this->isAuthenticated()) {
              return $this->redirect('/login');
          }
  
          $userModel = $this->session()->get('user');
          return $this->twig()->render('User\profile.twig', array('user' => $userModel));
      }
code_tokens: public function profileShow ( ) { if ( ! $ this -> isAuthenticated ( ) ) { return $ this -> redirect ( '/login' ) ; } $ userModel = $ this -> session ( ) -> get ( 'user' ) ; return $ this -> twig ( ) -> render ( 'User\profile.twig' , array ( 'user' => $ userModel ) ) ; }
docstring: Shows the profile page.
  
  @return string|\Symfony\Component\HttpFoundation\RedirectResponse
docstring_tokens: Shows the profile page .