You are here

protected function Client::getScript in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-kernel/Client.php \Symfony\Component\HttpKernel\Client::getScript()
  2. 8 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::getScript()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::getScript()

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

Parameters

object $request An origin request instance:

Throws

\LogicException When this abstract class is not implemented

1 call to Client::getScript()
Client::doRequestInProcess in vendor/symfony/browser-kit/Client.php
Makes a request in another process.
2 methods override Client::getScript()
Client::getScript in vendor/symfony/http-kernel/Client.php
Returns the script to execute when the request must be insulated.
TestClient::getScript in vendor/symfony/browser-kit/Tests/ClientTest.php
Returns the script to execute when the request must be insulated.

File

vendor/symfony/browser-kit/Client.php, line 356

Class

Client
Client simulates a browser.

Namespace

Symfony\Component\BrowserKit

Code

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