TemplateLocator
class TemplateLocator implements FileLocatorInterface
TemplateLocator locates templates in bundles.
Properties
protected | $locator | ||
protected | $cache |
Methods
string
getCacheKey($template)
Returns a full path for a given file.
string|array
locate(TemplateReferenceInterface $template, string|null $currentPath = null, bool $first = true)
Returns a full path for a given file.
Details
string|array
locate(TemplateReferenceInterface $template, string|null $currentPath = null, bool $first = true)
Returns a full path for a given file.