Interface

eZ\Publish\Core\MVC\Symfony\Cache\PurgeClientInterface

interface PurgeClientInterface

Methods

purge(array $locationIds)

Triggers the cache purge $locationIds.

purgeAll()

Purges all content elements currently in cache.

Details

at line 23
public purge(array $locationIds)

Triggers the cache purge $locationIds.

It's up to the implementor to decide whether to purge $locationIds right away or to delegate to a separate process.

Parameters

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

at line 30
public purgeAll()

Purges all content elements currently in cache.

It's up to the implementor to decide whether to purge $locationIds right away or to delegate to a separate process.