Reference
I
Interface

ApiPlatform\HttpCache\PurgerInterface

Purges resources from the cache.

interface ApiPlatform\HttpCache\PurgerInterface
{
    public purge(array<int, string> $iris): null
    public getResponseHeaders(array<int, string> $iris): array
}
interface ApiPlatform\HttpCache\PurgerInterface
{
    public purge(array<int, string> $iris): null
    public getResponseHeaders(array<int, string> $iris): array
}

Methods

purge

Purges all responses containing the given resources from the cache.

public purge(array<int, string> $iris): null
public purge(array<int, string> $iris): null

Parameters

irisarray<int, string>

Returns

null

getResponseHeaders

Get the response header containing purged tags.

public getResponseHeaders(array&lt;int, string&gt; $iris): array
public getResponseHeaders(array&lt;int, string&gt; $iris): array

Parameters

irisarray<int, string>

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop