Loader\LoaderInterface (Component\Templating)
Symfony\Component\Templating\Loader\LoaderInterface
interface LoaderInterface
LoaderInterface is the interface all loaders must implement.
Methods
Storage|bool | load(TemplateReferenceInterface $template) Loads a template. | |
bool | isFresh(TemplateReferenceInterface $template, int $time) Returns true if the template is still fresh. |
Details
public Storage|bool load(TemplateReferenceInterface $template)
Loads a template.
public bool isFresh(TemplateReferenceInterface $template, int $time)
Returns true if the template is still fresh.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Templating/Loader/LoaderInterface.html