Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | public function compile($templatePath, array $templateData, $filePath) |
||
47 | { |
||
48 | $template = $this->filesystem->get($templatePath); |
||
49 | |||
50 | $compiled = $this->compiler->compile($template, $templateData); |
||
51 | |||
52 | $this->makeDirectory(dirname($filePath)); |
||
53 | |||
54 | $this->filesystem->put($filePath, $compiled); |
||
55 | |||
56 | return $filePath; |
||
57 | } |
||
58 | |||
66 |