public function Kernel::handle

@api

Overrides HttpKernelInterface::handle

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php, line 184

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) {
  if (false === $this->booted) {
    $this
      ->boot();
  }
  return $this
    ->getHttpKernel()
    ->handle($request, $type, $catch);
}