Symfony\Component\Templating\DelegatingEngine::getEngine
Get an engine able to render the given template.
Signature
protected function getEngine(mixed
$name )
Parameters
$name
— mixed- A template name or a TemplateReferenceInterface instance
Returns
- EngineInterface
- The engine
Errors/Exceptions
-
RuntimeException
- if no engine able to work with the template is found