public GuzzleMiddlewarePass::process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder $container:
Overrides CompilerPassInterface::process
File
- core/lib/Drupal/Core/DependencyInjection/Compiler/GuzzleMiddlewarePass.php, line 13
Class
Namespace
Drupal\Core\DependencyInjection\Compiler
Code
public function process(ContainerBuilder $container) { $middleware_ids = array_keys($container->findTaggedServiceIds('http_client_middleware')); $container->getDefinition('http_handler_stack_configurator') ->addArgument($middleware_ids); }
Please login to continue.