TemplateLocator
class TemplateLocator implements FileLocatorInterface
TemplateLocator locates templates in bundles.
Methods
string|array
locate(TemplateReferenceInterface $template, string|null $currentPath = null, bool $first = true)
Returns a full path for a given file.
Details
at line line 33
__construct(FileLocatorInterface $locator, string $cacheDir = null)
Constructor.
at line line 66
string|array
locate(TemplateReferenceInterface $template, string|null $currentPath = null, bool $first = true)
Returns a full path for a given file.