CodeExplorer 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();
}}