FilesystemLoader
class FilesystemLoader implements LoaderInterface
FilesystemLoader is a loader that read templates from the filesystem.
Methods
Storage|bool
bool
isFresh(TemplateReferenceInterface $template, int $time)
Returns true if the template is still fresh.
Details
at line line 33
__construct(FileLocatorInterface $locator)
Constructor.
at line line 41
Storage|bool
load(TemplateReferenceInterface $template)
Loads a template.
at line line 55
bool
isFresh(TemplateReferenceInterface $template, int $time)
Returns true if the template is still fresh.