public function KernelEvent::getKernel

Returns the kernel in which this event was thrown

@api

Return value

HttpKernelInterface

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Event/KernelEvent.php, line 60

Class

KernelEvent
Base class for events thrown in the HttpKernel component

Namespace

Symfony\Component\HttpKernel\Event

Code

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