Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function process(ContainerBuilder $container): void |
||
15 | { |
||
16 | if (!$container->has('security.untracked_token_storage')) { |
||
17 | return; |
||
18 | } |
||
19 | |||
20 | // NEXT_MAJOR: this compilerpass can be removed when we drop symfony <4.4 support + replace service argument in yaml config |
||
21 | if ($container->has('kunstmaan_admin.logger.processor.user')) { |
||
22 | $container->getDefinition('kunstmaan_admin.logger.processor.user')->setArgument(0, new Reference('security.untracked_token_storage')); |
||
23 | } |
||
24 | } |
||
25 | } |
||
26 |