class TemplateFilenameParser implements TemplateNameParserInterface
TemplateFilenameParser converts template filenames to TemplateReferenceInterface instances.
TemplateReferenceInterface | parse(string|TemplateReferenceInterface $name) Convert a template name to a TemplateReferenceInterface instance. |
Convert a template name to a TemplateReferenceInterface instance.
string|TemplateReferenceInterface | $name | A template name or a TemplateReferenceInterface instance |
TemplateReferenceInterface | A template |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/FrameworkBundle/Templating/TemplateFilenameParser.html