/**
  * @param BeginRequestEvent $event
  */
 public function onBeginRequest(BeginRequestEvent $event)
 {
     if ($this->logger) {
         $this->logger->debug('Ext.direct request received: {request}', ['request' => json_encode($event->getDirectRequest())]);
     }
     $this->requestLogger->startRequest($event->getDirectRequest());
 }