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