Reference
C
Class

ApiPlatform\HttpCache\VarnishXKeyPurger

Purges Varnish XKey.

class ApiPlatform\HttpCache\VarnishXKeyPurger extends ApiPlatform\HttpCache\SurrogateKeysPurger implements `<a href="/docs/reference/HttpCache/PurgerInterface">ApiPlatform\HttpCache\PurgerInterface</a>`
{
    public __construct(array&lt;int, Symfony\Contracts\HttpClient\HttpClientInterface&gt; $clients, int $maxHeaderLength, string $xkeyGlue)
    public purge(array $iris): null
    public getResponseHeaders(array $iris): array
}
class ApiPlatform\HttpCache\VarnishXKeyPurger extends ApiPlatform\HttpCache\SurrogateKeysPurger implements `<a href="/docs/reference/HttpCache/PurgerInterface">ApiPlatform\HttpCache\PurgerInterface</a>`
{
    public __construct(array&lt;int, Symfony\Contracts\HttpClient\HttpClientInterface&gt; $clients, int $maxHeaderLength, string $xkeyGlue)
    public purge(array $iris): null
    public getResponseHeaders(array $iris): array
}

Properties

clients

iterable $clients
iterable $clients

maxHeaderLength

int $maxHeaderLength
int $maxHeaderLength

header

string $header
string $header

separator

string $separator
string $separator

Methods

__construct

public __construct(array&lt;int, Symfony\Contracts\HttpClient\HttpClientInterface&gt; $clients, int $maxHeaderLength, string $xkeyGlue)
public __construct(array&lt;int, Symfony\Contracts\HttpClient\HttpClientInterface&gt; $clients, int $maxHeaderLength, string $xkeyGlue)

Parameters

clientsarray<int, Symfony\Contracts\HttpClient\HttpClientInterface>
maxHeaderLengthint
xkeyGluestring

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop