Class

eZ\Publish\Core\MVC\Symfony\Cache\Http\EventListener\ParentLocationsListener

class ParentLocationsListener implements EventSubscriberInterface

Adds parent locations to the Http cache clear list, for given content.

Will consider direct parent for all content's locations.

Methods

__construct(LocationService $locationService)

static  getSubscribedEvents()

onContentCacheClear(ContentCacheClearEvent $event)

Details

at line 29
public __construct(LocationService $locationService)

Parameters

LocationService $locationService

at line 34
static public getSubscribedEvents()

at line 39
public onContentCacheClear(ContentCacheClearEvent $event)

Parameters

ContentCacheClearEvent $event