Class AbstractEngine
Default implementation, as abstract class, of the EngineInterface
.
View Engines are comprised of 2 things:
- A template loader, wich is a LoaderInterfaceObject
- Set with set_loader()
/ Get with loader()
- Provides loadtemplate()
method
- A render()
method, which takes a $template and a $context arguments
Engines implements the
LoggerAwareInterface
. A logger can be accessed with thelogger()
method.
- Charcoal\View\AbstractEngine implements Charcoal\View\EngineInterface, Psr\Log\LoggerAwareInterface uses Psr\Log\LoggerAwareTrait (not available)
Direct known subclasses
Charcoal\View\Mustache\MustacheEngine, Charcoal\View\Php\PhpEngine, Charcoal\View\Twig\TwigEngine
abstract public
string
|
|
public
|
|
protected
|
|
public
string
|
|
public
string
|
|
abstract public
string
|