class KernelPreHandle implements HttpKernelInterface (View source)

Prepares the environment after page caching ran.

Properties

protected HttpKernelInterface $httpKernel

The wrapped HTTP kernel.

protected DrupalKernelInterface $drupalKernel

The main Drupal kernel.

Methods

__construct(HttpKernelInterface $http_kernel, DrupalKernelInterface $drupal_kernel)

Constructs a new KernelPreHandle instance.

Response
handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE)

{@inheritdoc}

Details

__construct(HttpKernelInterface $http_kernel, DrupalKernelInterface $drupal_kernel)

Constructs a new KernelPreHandle instance.

Parameters

HttpKernelInterface $http_kernel

The wrapped HTTP kernel.

DrupalKernelInterface $drupal_kernel

The main Drupal kernel.

Response handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE)

{@inheritdoc}

Parameters

Request $request
$type
$catch

Return Value

Response