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 $clientsiterable $clientsint $maxHeaderLengthint $maxHeaderLengthstring $headerstring $headerstring $separatorstring $separatorpublic __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 |