function KernelEvent::getKernel

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.