final class EnvironmentProxyContext implements ProxyContextInterface (View source)

The HTTP(S)_PROXY / NO_PROXY lookup of ProxyContext behind the port, for services that take the proxy as a dependency.

Methods

array
applyTo(array $options, string $url)

No description

Details

array applyTo(array $options, string $url)

No description

Parameters

array $options

Stream context options, typically with an 'http' entry

string $url

Return Value

array

The options with the proxy settings merged in, or unchanged