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

Show file Open project: ezsystems/ezpublish-kernel Interface Usage Examples

Public Methods

Method Description
purge ( array $locationIds ) Triggers the cache purge $locationIds.
purgeAll ( ) Purges all content elements currently in cache.

Method Details

purge() public method

It's up to the implementor to decide whether to purge $locationIds right away or to delegate to a separate process.
public purge ( array $locationIds )
$locationIds array Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy)

purgeAll() public method

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