public function KernelEvent::__construct in Drupal 9
Parameters
int $requestType The request type the kernel is currently processing; one of: HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST
File
- core/
lib/ Drupal/ Core/ Http/ KernelEvent.php, line 30
Class
- KernelEvent
- Symfony 6 bridge.
Namespace
Drupal\Core\HttpCode
public function __construct(HttpKernelInterface $kernel, Request $request, ?int $requestType) {
$this->kernel = $kernel;
$this->request = $request;
$this->requestType = $requestType;
}