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

Handy for mono-server.
Inheritance: implements eZ\Publish\Core\MVC\Symfony\Cache\PurgeClientInterface
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$cacheStore eZ\Publish\Core\MVC\Symfony\Cache\Http\ContentPurger

Public Methods

Method Description
__construct ( eZ\Publish\Core\MVC\Symfony\Cache\Http\RequestAwarePurger $cacheStore )
purge ( mixed $locationIds ) Triggers the cache purge $locationIds.
purgeAll ( ) Purges all content elements currently in cache.

Method Details

__construct() public method

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

purge() public method

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

purgeAll() public method

Purges all content elements currently in cache.
public purgeAll ( )

Property Details

$cacheStore protected property

protected ContentPurger,eZ\Publish\Core\MVC\Symfony\Cache\Http $cacheStore
return eZ\Publish\Core\MVC\Symfony\Cache\Http\ContentPurger