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