Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function process(ContainerBuilder $container) |
||
19 | { |
||
20 | if (false === $container->hasDefinition($this->class)) { |
||
21 | throw new LogicException($this->class.' must be registered'); |
||
22 | } |
||
23 | |||
24 | $conditionManagerDefinition = $container->getDefinition($this->class); |
||
25 | $conditionManagerDefinition->setPublic(true); |
||
26 | } |
||
27 | } |