EnforcedFormResponseSubscriber
class EnforcedFormResponseSubscriber implements EventSubscriberInterface (View source)
Handle the EnforcedResponseException and deliver an EnforcedResponse.
Methods
onKernelException(GetResponseForExceptionEvent $event)
Replaces the response in case an EnforcedResponseException was thrown.
onKernelResponse(FilterResponseEvent $event)
Unwraps an enforced response.
static
getSubscribedEvents()
{@inheritdoc}
Details
onKernelException(GetResponseForExceptionEvent $event)
Replaces the response in case an EnforcedResponseException was thrown.
onKernelResponse(FilterResponseEvent $event)
Unwraps an enforced response.
static
getSubscribedEvents()
{@inheritdoc}