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

Breadcrumb

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

function AbstractBrowser::getScript

Returns the script to execute when the request must be insulated.

@psalm-param TRequest $request

Parameters

object $request An origin request instance:

Return value

string

Throws

LogicException When this abstract class is not implemented

1 call to AbstractBrowser::getScript()
AbstractBrowser::doRequestInProcess in vendor/symfony/browser-kit/AbstractBrowser.php
Makes a request in another process.
1 method overrides AbstractBrowser::getScript()
HttpKernelBrowser::getScript in vendor/symfony/http-kernel/HttpKernelBrowser.php

File

vendor/symfony/browser-kit/AbstractBrowser.php, line 472

Class

AbstractBrowser
Simulates a browser.

Namespace

Symfony\Component\BrowserKit

Code

protected function getScript(object $request) {
    throw new LogicException('To insulate requests, you need to override the getScript() method.');
}

API Navigation

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