| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class Kernel extends BaseKernel { |
||
| 13 | |||
| 14 | use MicroKernelTrait; |
||
|
|
|||
| 15 | |||
| 16 | protected function configureContainer( ContainerConfigurator $container ): void { |
||
| 17 | $container->import( '../config/{packages}/*.yaml' ); |
||
| 18 | $container->import( '../config/{packages}/' . $this->environment . '/*.yaml' ); |
||
| 19 | |||
| 20 | if ( is_file( \dirname( __DIR__ ) . '/config/services.yaml' ) ) { |
||
| 21 | $container->import( '../config/services.yaml' ); |
||
| 22 | $container->import( '../config/{services}_' . $this->environment . '.yaml' ); |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function configureRoutes( RoutingConfigurator $routes ): void { |
||
| 28 | } |
||
| 29 | } |
||
| 30 |