Total Complexity | 8 |
Total Lines | 66 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class Engine |
||
8 | { |
||
9 | private $data = []; |
||
10 | |||
11 | public function render(string $view, array $data = []): string |
||
42 | } |
||
43 | |||
44 | private function handle($content) |
||
60 | } |
||
61 | |||
62 | private function setCache(File $file, $content): void |
||
63 | { |
||
64 | $file->create(); |
||
65 | $file->write($content); |
||
66 | } |
||
67 | |||
68 | private function registerTag(array $tags): void |
||
73 | } |
||
74 | } |
||
76 |