EventListener/HttpCacheEventSubscriber.php
public function onInvalidateTag(HttpCacheEvent $event)
    {
        $tags = $event->getData();

        if (empty($tags)) {
            return;
        }

        $this->tagManager->invalidateTags($tags);
    }
public function onInvalidateTag(HttpCacheEvent $event)
    {
        $tags = $event->getData();

        if (empty($tags)) {
            return;
        }

        $this->tagManager->invalidateTags($tags);
    }
Invalidate tags event handler.

@param HttpCacheEvent $event