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