You are here

public function KernelEvent::getKernel in Drupal 9

Returns the kernel in which this event was thrown.

Return value

HttpKernelInterface

File

core/lib/Drupal/Core/Http/KernelEvent.php, line 42

Class

KernelEvent
Symfony 6 bridge.

Namespace

Drupal\Core\Http

Code

public function getKernel() {
  return $this->kernel;
}