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

Inheritance: implements eZ\Publish\Core\MVC\Symfony\Cache\GatewayCachePurger
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$purgeClient eZ\Publish\Core\MVC\Symfony\Cache\PurgeClientInterface

Public Methods

Method Description
__construct ( eZ\Publish\Core\MVC\Symfony\Cache\PurgeClientInterface $purgeClient, eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
purge ( $locationIds )
purgeAll ( )
purgeForContent ( $contentId, $locationIds = [] )

Method Details

__construct() public method

public __construct ( eZ\Publish\Core\MVC\Symfony\Cache\PurgeClientInterface $purgeClient, eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$purgeClient eZ\Publish\Core\MVC\Symfony\Cache\PurgeClientInterface
$contentService eZ\Publish\API\Repository\ContentService
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

purge() public method

public purge ( $locationIds )

purgeAll() public method

public purgeAll ( )

purgeForContent() public method

public purgeForContent ( $contentId, $locationIds = [] )

Property Details

$purgeClient protected property

protected PurgeClientInterface,eZ\Publish\Core\MVC\Symfony\Cache $purgeClient
return eZ\Publish\Core\MVC\Symfony\Cache\PurgeClientInterface