| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | protected function configureContainer(ContainerConfigurator $container): void |
||
| 15 | { |
||
| 16 | $container->import('../config/{packages}/*.yaml'); |
||
| 17 | $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); |
||
| 18 | |||
| 19 | if (is_file(\dirname(__DIR__).'/config/services.yaml')) { |
||
| 20 | $container->import('../config/services.yaml'); |
||
| 21 | $container->import('../config/{services}_'.$this->environment.'.yaml'); |
||
| 22 | } elseif (is_file($path = \dirname(__DIR__).'/config/services.php')) { |
||
| 23 | (require $path)($container->withPath($path), $this); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 39 |