class FilesystemLoader extends Loader
FilesystemLoader is a loader that read templates from the filesystem.
Methods
setLogger(LoggerInterface $logger) Sets the debug logger to use for this loader. | from Loader | |
__construct(array $templatePathPatterns) Constructor. | ||
Storage|bool | load(TemplateReferenceInterface $template) Loads a template. | |
bool | isFresh(TemplateReferenceInterface $template, int $time) Returns true if the template is still fresh. |
Details
setLogger(LoggerInterface $logger)
Sets the debug logger to use for this loader.
__construct(array $templatePathPatterns)
Constructor.
Storage|bool load(TemplateReferenceInterface $template)
Loads a template.
bool isFresh(TemplateReferenceInterface $template, int $time)
Returns true if the template is still fresh.
Please login to continue.