class ChainLoader extends Loader
ChainLoader is a loader that calls other loaders to load templates.
setLogger(LoggerInterface $logger) Sets the debug logger to use for this loader. | from Loader | |
setDebugger(DebuggerInterface $debugger) Sets the debugger to use for this loader. | from Loader | |
__construct(array $loaders = array()) Constructor. | ||
addLoader(LoaderInterface $loader) Adds a loader instance. | ||
Storage|bool | load(TemplateReferenceInterface $template) Loads a template. | |
bool | isFresh(TemplateReferenceInterface $template, int $time) Returns true if the template is still fresh. |
Sets the debug logger to use for this loader.
Sets the debugger to use for this loader.
Constructor.
Adds a loader instance.
Loads a template.
Returns true if the template is still fresh.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Templating/Loader/ChainLoader.html