eZ\Publish\Core\MVC\Symfony\Cache\Http\EventListener\ParentLocationsListener::getSubscribedEvents PHP Method

getSubscribedEvents() public static method

public static getSubscribedEvents ( )
    public static function getSubscribedEvents()
    {
        return [MVCEvents::CACHE_CLEAR_CONTENT => ['onContentCacheClear', 100]];
    }

Usage Example

 public function testGetSubscribedEvents()
 {
     $this->assertSame([MVCEvents::CACHE_CLEAR_CONTENT => ['onContentCacheClear', 100]], ParentLocationsListener::getSubscribedEvents());
 }