eZPublishCommunityProject  2013.6
eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient Class Reference

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

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient:

Public Member Functions

 __construct (RequestAwarePurger $cacheStore)
 
 purge ($locationIds)
 Triggers the cache purge $cacheElements. More...
 
 purgeAll ()
 Purges all content elements currently in cache. More...
 

Protected Attributes

 $cacheStore
 

Detailed Description

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

Handy for mono-server.

Constructor & Destructor Documentation

eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient::__construct ( RequestAwarePurger  $cacheStore)

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient::purge (   $locationIds)

Triggers the cache purge $cacheElements.

Parameters
mixed$locationIdsCache resource(s) to purge (e.g. array of URI to purge in a reverse proxy)
Returns
void

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

eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient::purgeAll ( )

Purges all content elements currently in cache.

Returns
void

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

Member Data Documentation

eZ\Publish\Core\MVC\Symfony\Cache\Http\LocalPurgeClient::$cacheStore
protected

The documentation for this class was generated from the following file: