Closed
Description
If one sets the templating to false, the code generated for twig.loader makes no sense. I've checked the 3.1 and 3.2, don't know for others.
protected function getTwig_LoaderService()
{
$a = new \Twig_Loader_Filesystem(array(), $this->targetDirs[4]);
$a->addPath(....);
$this->services['twig.loader'] = $instance = new \Twig_Loader_Chain();
$instance->addLoader($a);
$instance->addLoader($a);
return $instance;
}