| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 14 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 68 | 2 | public function load(ContainerBuilder $container, array $config) |
|
| 69 | { |
||
| 70 | 2 | $kernelConfig = $config[$this->getConfigKey()]; |
|
| 71 | 2 | $container->setParameter( |
|
| 72 | 2 | $this->getContainerParamOrServiceId('kernel.reboot'), |
|
| 73 | 2 | $kernelConfig['reboot'] |
|
| 74 | 2 | ); |
|
| 75 | 2 | $this->createService( |
|
| 76 | 2 | $container, |
|
| 77 | 2 | 'kernel', |
|
| 78 | 2 | $kernelConfig['class'], |
|
| 79 | array( |
||
| 80 | 2 | $kernelConfig['env'], |
|
| 81 | 2 | $kernelConfig['debug'], |
|
| 82 | ) |
||
| 83 | 2 | ); |
|
| 84 | 2 | } |
|
| 85 | |||
| 106 |