Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HttpKernel.php

function HttpKernel::finishRequest

Publishes the finish request event, then pop the request from the stack.

Note that the order of the operations is important here, otherwise operations such as {@link RequestStack::getParentRequest()} can lead to weird results.

3 calls to HttpKernel::finishRequest()
HttpKernel::filterResponse in vendor/symfony/http-kernel/HttpKernel.php
Filters a response object.
HttpKernel::handle in vendor/symfony/http-kernel/HttpKernel.php
Handles a Request to convert it to a Response.
HttpKernel::handleThrowable in vendor/symfony/http-kernel/HttpKernel.php
Handles a throwable by trying to convert it to a Response.

File

vendor/symfony/http-kernel/HttpKernel.php, line 230

Class

HttpKernel
HttpKernel notifies events to convert a Request object to a Response one.

Namespace

Symfony\Component\HttpKernel

Code

private function finishRequest(Request $request, int $type) : void {
    $this->dispatcher
        ->dispatch(new FinishRequestEvent($this, $request, $type), KernelEvents::FINISH_REQUEST);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal