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\HttpCode
public function getKernel() {
return $this->kernel;
}