Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function process(ContainerBuilder $container): void |
||
44 | { |
||
45 | $taggedServices = $container->findTaggedServiceIds(self::CONTEXT_SERVICE_TAG); |
||
46 | |||
47 | foreach ($taggedServices as $id => $tags) { |
||
48 | $container->getDefinition($id)->setPublic(true); |
||
49 | |||
50 | $this->contextRegistryDefinition->addMethodCall( |
||
51 | 'add', |
||
52 | [$id, $container->findDefinition($id)->getClass()] |
||
53 | ); |
||
54 | } |
||
55 | } |
||
56 | } |
||
57 |