$loader
$loader : \Charcoal\View\LoaderInterface
Default implementation, as abstract class, of the `EngineInterface`.
View Engines are comprised of 2 things:
LoaderInterfaceObject
set_loader()
/ Get with loader()
loadtemplate()
methodrender()
method, which takes a $template and a $context argumentsEngines implements the
LoggerAwareInterface
. A logger can be accessed with thelogger()
method.
$loader : \Charcoal\View\LoaderInterface
loader() : \Charcoal\View\LoaderInterface
setLoader(\Charcoal\View\LoaderInterface $loader) : void
\Charcoal\View\LoaderInterface | $loader | A loader instance. |