class FilesystemLoader implements LoaderInterface
FilesystemLoader is a loader that read templates from the filesystem.
__construct(FileLocatorInterface $locator) Constructor. | ||
Storage|bool | load(TemplateReferenceInterface $template) Loads a template. | |
bool | isFresh(TemplateReferenceInterface $template, int $time) Returns true if the template is still fresh. |
Constructor.
Loads a template.
Returns true if the template is still fresh.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.html