Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
23 | abstract class ALoader implements ILoader |
||
24 | { |
||
25 | use TMdLang; |
||
26 | |||
27 | protected ContainerInterface $container; |
||
28 | |||
29 | public function __construct(ContainerInterface $container, ?IMdTranslations $lang = null) |
||
33 | } |
||
34 | |||
35 | public function load(array $module, array $constructParams = []): ?IModule |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @param string[] $module |
||
50 | * @throws ModuleException |
||
51 | * @return string |
||
52 | */ |
||
53 | abstract protected function getClassName(array $module): string; |
||
54 | } |
||
55 |