ChainLoader
class ChainLoader extends Loader
ChainLoader is a loader that calls other loaders to load templates.
Methods
from Loader
__construct(array $loaders = array())
Constructor.
Storage|bool
bool
isFresh(TemplateReferenceInterface $template, int $time)
Returns true if the template is still fresh.
Details
in Loader at line line 39
setLogger(LoggerInterface $logger)
Sets the debug logger to use for this loader.
in Loader at line line 51
setDebugger(DebuggerInterface $debugger)
deprecated
deprecated
Sets the debugger to use for this loader.
at line line 31
__construct(array $loaders = array())
Constructor.
at line line 43
addLoader(LoaderInterface $loader)
Adds a loader instance.
at line line 55
Storage|bool
load(TemplateReferenceInterface $template)
Loads a template.
at line line 74
bool
isFresh(TemplateReferenceInterface $template, int $time)
Returns true if the template is still fresh.