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\BrowserKitCode
protected function getScript(object $request) {
throw new LogicException('To insulate requests, you need to override the getScript() method.');
}