protected findTemplate ( string | Symfony\Component\Templating\TemplateReferenceInterface $template, boolean $throw = true ) : string | ||
$template | string | Symfony\Component\Templating\TemplateReferenceInterface | The template |
$throw | boolean | When true, a \Twig_Error_Loader exception will be thrown if a template could not be found |
return | string | The path to the template file |