| Total Complexity | 4 | 
| Total Lines | 20 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 14 | class MultiLoader implements ILoader | ||
| 15 | { | ||
| 16 | /** @var array<string, ILoader> */ | ||
| 17 | protected array $loaders = []; | ||
| 18 | |||
| 19 | 1 | public function addLoader(ILoader $loader): self | |
| 20 |     { | ||
| 21 | 1 | $this->loaders[get_class($loader)] = $loader; | |
| 22 | 1 | return $this; | |
| 23 | } | ||
| 24 | |||
| 25 | 1 | public function load(string $module, string $lang): ?array | |
| 34 | } | ||
| 35 | } | ||
| 36 |