function KernelPreHandle::handle

File

core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php, line 45

Class

KernelPreHandle
Prepares the environment after page caching ran.

Namespace

Drupal\Core\StackMiddleware

Code

public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) : Response {
  $this->drupalKernel
    ->preHandle($request);
  return $this->httpKernel
    ->handle($request, $type, $catch);
}

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