TemplateFilenameParser

class TemplateFilenameParser implements TemplateNameParserInterface

TemplateFilenameParser converts template filenames to TemplateReferenceInterface instances.

Methods

TemplateReferenceInterface 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.

Parameters

string|TemplateReferenceInterface $name A template name or a TemplateReferenceInterface instance

Return Value

TemplateReferenceInterface A template
doc_Symfony
2016-10-28 06:34:15
Comments
Leave a Comment

Please login to continue.