| Total Complexity | 5 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 7 | class ChainDefinitionLoader implements DefinitionLoader |
||
| 8 | { |
||
| 9 | /** @var DefinitionLoader[] */ |
||
| 10 | private $loaders; |
||
| 11 | |||
| 12 | /** @param DefinitionLoader[] $loaders */ |
||
| 13 | public function __construct(...$loaders) |
||
| 17 | } |
||
| 18 | } |
||
| 19 | |||
| 20 | private function addLoader(DefinitionLoader $loader): void |
||
| 21 | { |
||
| 22 | $this->loaders[] = $loader; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function load(ContainerBuilder $containerBuilder): void |
||
| 29 | } |
||
| 30 | } |
||
| 32 |