final class CurlHttpClientServiceProvider implements ServiceProviderInterface (View source)

Registers the optional PHP-HTTP cURL adapter as the configured PSR-18 client.

Constants

private CURL_CLIENT_CLASS

Methods

void

Binds client configuration and validates cURL dependencies when the client is first resolved.

void

Details

register

void register(ContainerBuilderInterface $container)

Binds client configuration and validates cURL dependencies when the client is first resolved.

Parameters

ContainerBuilderInterface $container

Container definition builder.

Return Value

void