Purges Varnish.
class ApiPlatform\HttpCache\VarnishPurger implements ApiPlatform\HttpCache\PurgerInterface
{
public __construct(array<int, Symfony\Contracts\HttpClient\HttpClientInterface> $clients, int $maxHeaderLength)
public purge(array $iris): null
public getResponseHeaders(array $iris): array
}
public __construct(array<int, Symfony\Contracts\HttpClient\HttpClientInterface> $clients, int $maxHeaderLength)
clients | array<int, Symfony\Contracts\HttpClient\HttpClientInterface> | |
maxHeaderLength | int |
Purges all responses containing the given resources from the cache.
public purge(array $iris): null
iris | array |
null
Get the response header containing purged tags.
public getResponseHeaders(array $iris): array
iris | array |
array
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more