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