TemplateNameParser
class TemplateNameParser extends TemplateNameParser
TemplateNameParser converts template names from the short notation "bundle:section:template.format.engine" to TemplateReferenceInterface instances.
Properties
protected | $kernel | ||
protected | $cache |
Methods
parse(string|TemplateReferenceInterface $name)
Convert a template name to a TemplateReferenceInterface instance.
Details
TemplateReferenceInterface
parse(string|TemplateReferenceInterface $name)
Convert a template name to a TemplateReferenceInterface instance.