Class

eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient

class LocalPurgeClient implements PurgeClientInterface

LocalPurgeClient emulates an Http PURGE request received by the cache store.

Handy for mono-server.

Methods

__construct(RequestAwarePurger $cacheStore)

purge(mixed $locationIds)

Triggers the cache purge $locationIds.

purgeAll()

Purges all content elements currently in cache.

Details

at line 27
public __construct(RequestAwarePurger $cacheStore)

Parameters

RequestAwarePurger $cacheStore

at line 37
public purge(mixed $locationIds)

Triggers the cache purge $locationIds.

Parameters

mixed $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy)

at line 55
public purgeAll()

Purges all content elements currently in cache.