HtmlResponseSubscriber
class HtmlResponseSubscriber implements EventSubscriberInterface (View source)
Response subscriber to handle HTML responses.
Properties
| protected AttachmentsResponseProcessorInterface | $htmlResponseAttachmentsProcessor | The HTML response attachments processor service. |
Methods
__construct(AttachmentsResponseProcessorInterface $html_response_attachments_processor)
Constructs a HtmlResponseSubscriber object.
onRespond(FilterResponseEvent $event)
Processes attachments for HtmlResponse responses.
static
getSubscribedEvents()
{@inheritdoc}
Details
__construct(AttachmentsResponseProcessorInterface $html_response_attachments_processor)
Constructs a HtmlResponseSubscriber object.
onRespond(FilterResponseEvent $event)
Processes attachments for HtmlResponse responses.
static
getSubscribedEvents()
{@inheritdoc}