Total Complexity | 8 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class EngineRegistry |
||
13 | { |
||
14 | private $extensions = []; |
||
15 | |||
16 | public function registerEngine($extensions, $factory) |
||
20 | } |
||
21 | } |
||
22 | |||
23 | public function getSupportedExtensions() |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param $templateFile |
||
30 | * @return AbstractEngine |
||
31 | * @throws FactoryException |
||
32 | * @throws TemplateEngineNotFoundException |
||
33 | */ |
||
34 | public function getEngineInstance($templateFile) : AbstractEngine |
||
52 |