Class

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

class FOSPurgeClient implements PurgeClientInterface

Purge client based on FOSHttpCacheBundle.

Only support BAN requests on purpose, to be able to invalidate cache for a collection of Location/Content objects.

Methods

__construct(CacheManager $cacheManager)

__destruct()

purge(array $locationIds)

Triggers the cache purge $locationIds.

purgeAll()

Purges all content elements currently in cache.

Details

at line 29
public __construct(CacheManager $cacheManager)

Parameters

CacheManager $cacheManager

at line 34
public __destruct()

at line 39
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 52
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.