EventListener/HttpCacheEventSubscriber.php
public static function getSubscribedEvents()
    {
        return [
            HttpCacheEvents::TAG_RESPONSE   => ['onTagResponse', 0],
            HttpCacheEvents::INVALIDATE_TAG => ['onInvalidateTag', 0],

            KernelEvents::RESPONSE          => ['onKernelResponse', 0],

            KernelEvents::TERMINATE         => ['onKernelTerminate', 0],
            ConsoleEvents::TERMINATE        => ['onKernelTerminate', 0],
        ];
    }
public static function getSubscribedEvents()
    {
        return [
            HttpCacheEvents::TAG_RESPONSE   => ['onTagResponse', 0],
            HttpCacheEvents::INVALIDATE_TAG => ['onInvalidateTag', 0],

            KernelEvents::RESPONSE          => ['onKernelResponse', 0],

            KernelEvents::TERMINATE         => ['onKernelTerminate', 0],
            ConsoleEvents::TERMINATE        => ['onKernelTerminate', 0],
        ];
    }
{@inheritdoc}