Example #1
0
 public function onResponse(GetFinalizeResponseEvent $event)
 {
     $this->initialize($event);
     $handler = $this->getSecurityHandler($this->route->getSecurityType());
     if ($handler !== null) {
         $handler->finalize($this->accessMethod, $this->route, $event->getResponse());
     }
 }