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