Total Complexity | 8 |
Total Lines | 64 |
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) |
||
45 | { |
||
46 | Tag::setContent($content); |
||
47 | |||
48 | $this->registerTag([ |
||
49 | 'Inheritance', |
||
50 | 'Block', |
||
51 | 'IncludeTag', |
||
52 | 'Evaluate', |
||
53 | 'Loop', |
||
54 | 'Condition', |
||
55 | ]); |
||
56 | |||
57 | return Tag::getContent(); |
||
58 | } |
||
59 | |||
60 | private function setCache(File $file, $content): void |
||
64 | } |
||
65 | |||
66 | private function registerTag(array $tags): void |
||
71 | } |
||
72 | } |
||
74 |