code: public function onKernelRequest(GetResponseEvent $event): void
      {
          if (!$this->tokenChecker->hasBackendUser()) {
              return;
          }
  
          $request = $event->getRequest();
          $request->attributes->set($this->requestAttribute, true);
      }
docs: Adds the request attribute to the request.