4use Symfony\Component\HttpFoundation\Response;
5use Symfony\Component\HttpFoundation\Request;
17 $twig=$this->container->get(
"twig");
19 return new Response($twig->render($viewName, $parameters));
23 $request=Request::createFromGlobals();
24 return $request->getBaseUrl().$path;
compile(&$view=NULL, $view_var='script_foot', $script_tags=TRUE)
gather together all script needing to be output
renderView($viewName, $parameters=[])
Performs jQuery compilation and displays a view.