1 | <?php declare(strict_types = 1); |
||
8 | class TemplatingEngine implements Engine |
||
9 | { |
||
10 | /** |
||
11 | * @var EngineInterface |
||
12 | */ |
||
13 | private $templating; |
||
14 | |||
15 | /** |
||
16 | * Constructor. |
||
17 | * |
||
18 | * @param EngineInterface $templating |
||
19 | */ |
||
20 | public function __construct(EngineInterface $templating = null) |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function render(string $name, array $parameters = []) |
||
32 | } |
||
33 |