| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ControllerDiscovery |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @return array<string, ControllerInterface> |
||
| 12 | */ |
||
| 13 | public function getControllers(ModuleViewEnum $module, bool $isViewController): array |
||
| 14 | { |
||
| 15 | return Init::getContainer()->get($this->getContainerIdentifier($module, $isViewController)); |
||
| 16 | } |
||
| 17 | |||
| 18 | private function getContainerIdentifier(ModuleViewEnum $module, bool $isViewController): string |
||
| 24 | ); |
||
| 25 | } |
||
| 27 |