Interface

eZ\Publish\Core\MVC\Symfony\Cache\GatewayCachePurger

interface GatewayCachePurger

Interface for gateway cache purgers, i.e.

Http cache purgers.

Methods

mixed purge(array $locationIds)

Triggers the cache purge of given $locationIds.

purgeForContent(mixed $contentId, array $locationIds = array())

Purge Content cache using $locationIds and gather additional relevant cache to clear based on $contentId.

mixed purgeAll()

Triggers the cache purge for all content in cache.

Details

at line 27
public mixed purge(array $locationIds)

Triggers the cache purge of given $locationIds.

Parameters

array $locationIds

Return Value

mixed

at line 38
public purgeForContent(mixed $contentId, array $locationIds = array())

Purge Content cache using $locationIds and gather additional relevant cache to clear based on $contentId.

Parameters

mixed $contentId Content ID.
array $locationIds Initial location id's from signal to take into account.

at line 45
public mixed purgeAll()

Triggers the cache purge for all content in cache.

Return Value

mixed