bool
supports(string|TemplateReferenceInterface $name)
Returns true if this class is able to render the given template.
Parameters string|TemplateReferenceInterface
$name A template name or a TemplateReferenceInterface instance Return Value bool true if this class supports the given template, false otherwise