interface TemplateNameParserInterface

TemplateNameParserInterface converts template names to TemplateReferenceInterface instances.

Methods

parse(string|TemplateReferenceInterface $name)

Convert a template name to a TemplateReferenceInterface instance.

Details

at line line 29
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