class FilesystemLoader extends Loader
FilesystemLoader is a loader that read templates from the filesystem.
Methods
|
__construct(array $templatePathPatterns)
Constructor. |
||
| Storage|Boolean |
load(TemplateReferenceInterface $template)
Loads a template. |
|
| Boolean |
isFresh(TemplateReferenceInterface $template, integer $time)
Returns true if the template is still fresh. |
Details
at line 36
public
__construct(array $templatePathPatterns)
Constructor.
at line 50
public Storage|Boolean
load(TemplateReferenceInterface $template)
Loads a template.
at line 97
public Boolean
isFresh(TemplateReferenceInterface $template, integer $time)
Returns true if the template is still fresh.