You are here

class EsiListener in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/EventListener/EsiListener.php \Symfony\Component\HttpKernel\EventListener\EsiListener

EsiListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for ESI.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of EsiListener

Deprecated

since version 2.6, to be removed in 3.0. Use SurrogateListener instead

File

vendor/symfony/http-kernel/EventListener/EsiListener.php, line 23

Namespace

Symfony\Component\HttpKernel\EventListener
View source
class EsiListener extends SurrogateListener {

}

Members

Namesort descending Modifiers Type Description Overrides
SurrogateListener::$surrogate private property
SurrogateListener::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
SurrogateListener::onKernelResponse public function Filters the Response.
SurrogateListener::__construct public function Constructor.