Symfony\Bridge\Twig\TwigEngine::load
Loads the given template.
Signature
protected function load(mixed
$name )
Parameters
$name
— mixed- A template name or an instance of Twig_Template
Returns
- Twig_TemplateInterface
- A \Twig_TemplateInterface instance
Errors/Exceptions
-
InvalidArgumentException
- if the template does not exist