Interface

eZ\Publish\Core\MVC\Symfony\Cache\Http\ContentPurger

interface ContentPurger implements RequestAwarePurger

Interface allowing for HttpCache stores to purge specific content.

When purging content by locationId, purgeByRequest() would receive a Request object with X-Location-Id or X-Group-Location-Id headers indicating which locations to purge.

Methods

bool purgeByRequest(Request $request)

Purges data from $request.

from RequestAwarePurger
bool purgeAllContent()

Purges all cached content.

Details

in RequestAwarePurger at line 27
public bool purgeByRequest(Request $request)

Purges data from $request.

Parameters

Request $request

Return Value

bool True if purge was successful. False otherwise

at line 25
public bool purgeAllContent()

Purges all cached content.

Return Value

bool