| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function process(ContainerBuilder $container) |
||
| 30 | { |
||
| 31 | if (!$container->hasDefinition(self::SERVICE_ID)) { |
||
| 32 | return; |
||
| 33 | } |
||
| 34 | |||
| 35 | $definition = $container->getDefinition(self::SERVICE_ID); |
||
| 36 | $definition->setClass(EventAwareConverter::class); |
||
| 37 | $definition->addArgument(new Reference('event_dispatcher')); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |