| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function process(ContainerBuilder $container) |
||
| 24 | { |
||
| 25 | if (!$container->hasDefinition(IdentifierResolverManager::class)) { |
||
| 26 | return; |
||
| 27 | } |
||
| 28 | |||
| 29 | $client_manager = $container->getDefinition(IdentifierResolverManager::class); |
||
| 30 | |||
| 31 | $taggedServices = $container->findTaggedServiceIds('webfinger_identifier_resolver'); |
||
| 32 | foreach ($taggedServices as $id => $attributes) { |
||
| 33 | $client_manager->addMethodCall('add', [new Reference($id)]); |
||
| 34 | } |
||
| 35 | } |
||
| 36 | } |
||
| 37 |