Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. KernelEvent.php

function KernelEvent::__construct

Parameters

int $requestType The request type the kernel is currently processing; one of: HttpKernelInterface::MAIN_REQUEST or HttpKernelInterface::SUB_REQUEST

12 calls to KernelEvent::__construct()
ControllerArgumentsEvent::__construct in vendor/symfony/http-kernel/Event/ControllerArgumentsEvent.php
ControllerArgumentsEvent::__construct in vendor/symfony/http-kernel/Event/ControllerArgumentsEvent.php
ControllerEvent::__construct in vendor/symfony/http-kernel/Event/ControllerEvent.php
ControllerEvent::__construct in vendor/symfony/http-kernel/Event/ControllerEvent.php
ExceptionEvent::__construct in vendor/symfony/http-kernel/Event/ExceptionEvent.php

... See full list

6 methods override KernelEvent::__construct()
ControllerArgumentsEvent::__construct in vendor/symfony/http-kernel/Event/ControllerArgumentsEvent.php
ControllerEvent::__construct in vendor/symfony/http-kernel/Event/ControllerEvent.php
ExceptionEvent::__construct in vendor/symfony/http-kernel/Event/ExceptionEvent.php
ResponseEvent::__construct in vendor/symfony/http-kernel/Event/ResponseEvent.php
TerminateEvent::__construct in vendor/symfony/http-kernel/Event/TerminateEvent.php

... See full list

File

vendor/symfony/http-kernel/Event/KernelEvent.php, line 29

Class

KernelEvent
Base class for events dispatched in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function __construct(HttpKernelInterface $kernel, Request $request, ?int $requestType) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal