final class SymfonyHttpClientServiceProvider implements ServiceProviderInterface (View source)

Registers the optional Symfony adapter as the configured PSR-18 client.

Constants

private SYMFONY_PSR18_CLIENT_CLASS

private SYMFONY_HTTP_CLIENT_CLASS

private SYMFONY_HTTP_CLIENT_INTERFACE

Methods

void

Binds configured Symfony clients and validates optional dependencies when they are first resolved.

void

Details

register

void register(ContainerBuilderInterface $container)

Binds configured Symfony clients and validates optional dependencies when they are first resolved.

Parameters

ContainerBuilderInterface $container

Container definition builder.

Return Value

void