function StackedHttpKernel::handle

Same name in other branches
  1. 11.x core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php \Drupal\Core\StackMiddleware\StackedHttpKernel::handle()

File

core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php, line 50

Class

StackedHttpKernel
Provides a stacked HTTP kernel.

Namespace

Drupal\Core\StackMiddleware

Code

public function handle(Request $request, $type = HttpKernelInterface::MAIN_REQUEST, $catch = TRUE) : Response {
    return $this->kernel
        ->handle($request, $type, $catch);
}

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