getRequestType example


        return $this->event->getKernel();
    }

    public function getRequest(): Request
    {
        return $this->event->getRequest();
    }

    public function getRequestType(): int
    {
        return $this->event->getRequestType();
    }

    public function isMainRequest(): bool
    {
        return $this->event->isMainRequest();
    }
}
Home | Imprint | This part of the site doesn't use cookies.