Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | private function addContainerParameters(array $configs, ContainerBuilder $container) |
||
41 | { |
||
42 | $vals = [ |
||
43 | 'debug' => false, |
||
44 | 'version' => '', |
||
45 | ]; |
||
46 | |||
47 | foreach ($vals AS $key => $val) { |
||
48 | $val = (isset($configs[0][$key]) ? $configs[0][$key] : $val); |
||
49 | |||
50 | $container->setParameter('dedipanel.' . $key, $val); |
||
51 | } |
||
52 | } |
||
53 | } |
||
54 |