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

Breadcrumb

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

function HttpKernelBrowser::getHandleScript

1 call to HttpKernelBrowser::getHandleScript()
HttpKernelBrowser::getScript in vendor/symfony/http-kernel/HttpKernelBrowser.php

File

vendor/symfony/http-kernel/HttpKernelBrowser.php, line 110

Class

HttpKernelBrowser
Simulates a browser and makes requests to an HttpKernel instance.

Namespace

Symfony\Component\HttpKernel

Code

protected function getHandleScript() : string {
    return <<<'EOF'
$response = $kernel->handle($request);

if ($kernel instanceof Symfony\Component\HttpKernel\TerminableInterface) {
    $kernel->terminate($request, $response);
}

echo serialize($response);
EOF;
}

API Navigation

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