You are here

public function KernelEvent::getKernel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Event/KernelEvent.php \Symfony\Component\HttpKernel\Event\KernelEvent::getKernel()

Returns the kernel in which this event was thrown.

Return value

HttpKernelInterface

File

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

Class

KernelEvent
Base class for events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel\Event

Code

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