Class

eZ\Bundle\EzPublishCoreBundle\Cache\Http\VarnishProxyClientFactory

class VarnishProxyClientFactory

Factory for Varnish proxy client.

Methods

__construct(ConfigResolverInterface $configResolver, DynamicSettingParserInterface $dynamicSettingParser, $proxyClientClass)

Varnish buildProxyClient(array $servers, string $baseUrl)

Builds the proxy client, taking dynamically defined servers into account.

Details

at line 38
public __construct(ConfigResolverInterface $configResolver, DynamicSettingParserInterface $dynamicSettingParser, $proxyClientClass)

Parameters

ConfigResolverInterface $configResolver
DynamicSettingParserInterface $dynamicSettingParser
$proxyClientClass

at line 56
public Varnish buildProxyClient(array $servers, string $baseUrl)

Builds the proxy client, taking dynamically defined servers into account.

Parameters

array $servers
string $baseUrl

Return Value

Varnish