| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | public function process(ContainerBuilder $container) |
||
| 48 | { |
||
| 49 | $synchronizerManagerDefinition = $container->getDefinition($this->managerServiceId); |
||
| 50 | |||
| 51 | foreach ($container->findTaggedServiceIds($this->tagName) as $registeredServiceId => $tag) { |
||
| 52 | $this->validateServiceClass( |
||
| 53 | $container->getDefinition($registeredServiceId)->getClass(), |
||
| 54 | $this->registeredServiceClassName, |
||
| 55 | $this->managerServiceId, |
||
| 56 | $this->tagName |
||
| 57 | ); |
||
| 58 | |||
| 59 | $synchronizerManagerDefinition->addMethodCall($this->registrationMethodName, [ |
||
| 60 | new Reference($registeredServiceId) |
||
| 61 | ]); |
||
| 62 | } |
||
| 63 | } |
||
| 64 | } |
||
| 65 |