ResponseListener

ResponseListener

class ResponseListener implements EventSubscriberInterface

ResponseListener fixes the Response headers based on the Request.

Methods

__construct($charset)
onKernelResponse(FilterResponseEvent $event)

Filters the Response.

static array getSubscribedEvents()

Returns an array of event names this subscriber wants to lis