1 | <?php |
||
9 | class TemplateFileProcessor |
||
10 | { |
||
11 | /** @var TemplateHelper */ |
||
12 | private $helper; |
||
13 | |||
14 | /** |
||
15 | * TemplateFileProcessor constructor. |
||
16 | * @param TemplateHelper $helper |
||
17 | */ |
||
18 | public function __construct(TemplateHelper $helper) |
||
22 | |||
23 | /** |
||
24 | * @param string $templateFilePath |
||
25 | * @param string $outputDir |
||
26 | */ |
||
27 | public function process($templateFilePath, $outputDir = '.') |
||
34 | |||
35 | /** |
||
36 | * @return TemplateHelper |
||
37 | */ |
||
38 | protected function getHelper() |
||
42 | } |
||
43 |