protected function renderResponse(Response $response)
    {
        $sendEvent = new SendResponseEvent();
        $sendEvent->setResponse($response);

        $this->responseSender->__invoke($sendEvent);
    }