| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 23 | 
| Code Lines | 16 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 30 | public function load(array $configs, ContainerBuilder $container)  | 
            ||
| 31 |     { | 
            ||
| 32 | $configuration = new Configuration();  | 
            ||
| 33 | $config = $this->processConfiguration($configuration, $configs);  | 
            ||
| 34 | |||
| 35 |         foreach ($config['layouts'] as $name => $layout) { | 
            ||
| 36 | $config['layouts'][$name] = array_merge([  | 
            ||
| 37 | 'name' => $name,  | 
            ||
| 38 | 'assets_css' => [],  | 
            ||
| 39 | 'assets_js' => [],  | 
            ||
| 40 | 'host' => '',  | 
            ||
| 41 | 'pattern' => '',  | 
            ||
| 42 | ], $layout);  | 
            ||
| 43 | ksort($config['layouts'][$name]);  | 
            ||
| 44 | }  | 
            ||
| 45 | |||
| 46 |         foreach ($config as $key => $value) { | 
            ||
| 47 |             $container->setParameter('orbitale_cms.'.$key, $value); | 
            ||
| 48 | }  | 
            ||
| 49 | |||
| 50 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));  | 
            ||
| 51 |         $loader->load('services.yml'); | 
            ||
| 52 | }  | 
            ||
| 53 | }  | 
            ||
| 54 |