DependencyInjection/Compiler/AddExpressionLanguageProvidersPass.php
public function process(ContainerBuilder $container)
    {
        $definition = $container->findDefinition(ExpressionLanguage::class);

        foreach ($container->findTaggedServiceIds(self::EXPRESSION_LANGUAGE_PROVIDER_TAG) as $id => $attributes) {
            $definition->addMethodCall('registerProvider', [new Reference($id)]);
        }
    }
public function process(ContainerBuilder $container)
    {
        $definition = $container->findDefinition(ExpressionLanguage::class);

        foreach ($container->findTaggedServiceIds(self::EXPRESSION_LANGUAGE_PROVIDER_TAG) as $id => $attributes) {
            $definition->addMethodCall('registerProvider', [new Reference($id)]);
        }
    }
@param ContainerBuilder $container

@SuppressWarnings(PHPMD.UnusedLocalVariables)