Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
24 | public function process(ContainerBuilder $container): void |
||
25 | { |
||
26 | if (!$container->hasParameter(static::getParameterId())) { |
||
27 | throw new NotSupportedException(\sprintf('The "%s" parameter should already be set in the container builder.', static::getParameterId())); |
||
28 | } |
||
29 | |||
30 | $container->setParameter(static::getParameterId(), $this->getOverride()); |
||
31 | } |
||
43 |