code: public function onKernelRequest(GetResponseEvent $event)
      {
          $request = $event->getRequest();
          if ($request->getMethod() == "POST") {
              return $event;
          }
  
          $token = $this->securityContext->getToken();
          if (null === $token) {
              return $event;
          }
  
          $data = $request->get("data");
          if (null === $data) {
              if ($this->queueManager->hasQueue()) {
                  $content = $this->queueManager->renderQueue();
                  $event->setResponse(new Response($content));
  
                  return $event;
              }
          }
      }
docs: Aligns the site slots
  
  @param GetResponseEvent $event