public function onKernelResponse(FilterResponseEvent $event)
 {
     $request = $event->getRequest();
     $response = $event->getResponse();
     $responseCode = $response->getStatusCode();
     $annotations = $this->getLoggableAnnotations($request);
     if (is_array($annotations)) {
         foreach ($annotations as $annotation) {
             $actionLogId = $annotation->getActionLogId();
             $this->logger->updateResponseCode($actionLogId, $responseCode);
         }
     }
 }