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(UserAuthenticationCheckerManager::class)) { |
||
26 | return; |
||
27 | } |
||
28 | |||
29 | $definition = $container->getDefinition(UserAuthenticationCheckerManager::class); |
||
30 | |||
31 | $taggedServices = $container->findTaggedServiceIds('oauth2_server_user_authentication_checker'); |
||
32 | foreach ($taggedServices as $id => $attributes) { |
||
33 | $definition->addMethodCall('add', [new Reference($id)]); |
||
34 | } |
||
35 | } |
||
36 | } |
||
37 |