original_string: public function shellAction(Request $request)
      {
          $this->translator->setLocale($request->getPreferredLanguage() ?: $request->getDefaultLocale());
  
          return $this->render(
              'eZPlatformUIBundle:PlatformUI:shell.html.twig',
              ['parameters' => $this->configAggregator->getConfig()]
          );
      }
code: public function shellAction(Request $request)
      {
          $this->translator->setLocale($request->getPreferredLanguage() ?: $request->getDefaultLocale());
  
          return $this->render(
              'eZPlatformUIBundle:PlatformUI:shell.html.twig',
              ['parameters' => $this->configAggregator->getConfig()]
          );
      }
code_tokens: public function shellAction ( Request $ request ) { $ this -> translator -> setLocale ( $ request -> getPreferredLanguage ( ) ? : $ request -> getDefaultLocale ( ) ) ; return $ this -> render ( 'eZPlatformUIBundle:PlatformUI:shell.html.twig' , [ 'parameters' => $ this -> configAggregator -> getConfig ( ) ] ) ; }
docstring: Renders the "shell" page to run the JavaScript application.
  
  @param \Symfony\Component\HttpFoundation\Request $request
  
  @return \Symfony\Component\HttpFoundation\Response
docstring_tokens: Renders the shell page to run the JavaScript application .