function KernelEvent::getRequest

Returns the request the kernel is currently processing.

Return value

Request

File

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

Class

KernelEvent
Symfony 6 bridge.

Namespace

Drupal\Core\Http

Code

public function getRequest() {
    return $this->request;
}

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