Guides
Tutorials
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<int, Symfony\Contracts\HttpClient\HttpClientInterface> $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<int, Symfony\Contracts\HttpClient\HttpClientInterface> $clients, int $maxHeaderLength, string $xkeyGlue)
public purge(array $iris): null
public getResponseHeaders(array $iris): array
}
iterable $clients
iterable $clients
int $maxHeaderLength
int $maxHeaderLength
string $header
string $header
string $separator
string $separator
public __construct(array<int, Symfony\Contracts\HttpClient\HttpClientInterface> $clients, int $maxHeaderLength, string $xkeyGlue)
public __construct(array<int, Symfony\Contracts\HttpClient\HttpClientInterface> $clients, int $maxHeaderLength, string $xkeyGlue)
clients | array<int, Symfony\Contracts\HttpClient\HttpClientInterface> | |
maxHeaderLength | int | |
xkeyGlue | string |