public function shellAction(Request $request)
    {
        $this->translator->setLocale($request->getPreferredLanguage() ?: $request->getDefaultLocale());

        return $this->render(
            'eZPlatformUIBundle:PlatformUI:shell.html.twig',
            ['parameters' => $this->configAggregator->getConfig()]
        );
    }
public function shellAction(Request $request)
    {
        $this->translator->setLocale($request->getPreferredLanguage() ?: $request->getDefaultLocale());

        return $this->render(
            'eZPlatformUIBundle:PlatformUI:shell.html.twig',
            ['parameters' => $this->configAggregator->getConfig()]
        );
    }
public function shellAction ( Request $ request ) { $ this -> translator -> setLocale ( $ request -> getPreferredLanguage ( ) ? : $ request -> getDefaultLocale ( ) ) ; return $ this -> render ( 'eZPlatformUIBundle:PlatformUI:shell.html.twig' , [ 'parameters' => $ this -> configAggregator -> getConfig ( ) ] ) ; }
Renders the "shell" page to run the JavaScript application.

@param \Symfony\Component\HttpFoundation\Request $request

@return \Symfony\Component\HttpFoundation\Response
Renders the shell page to run the JavaScript application .