Expanded class hierarchy of TestClient
class TestClient extends Client {
protected function getScript($request) {
$script = parent::getScript($request);
$script = preg_replace('/(\\->register\\(\\);)/', "\$0\nrequire_once '" . __DIR__ . "/../bootstrap.php';", $script);
return $script;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Client:: |
protected | property | ||
Client:: |
protected | function | Makes a request. | |
Client:: |
protected | function | Filters an array of files. | |
Client:: |
protected | function | Converts the BrowserKit request to a HttpKernel request. | |
Client:: |
protected | function | Converts the HttpKernel response to a BrowserKit response. | |
Client:: |
public | function | Constructor. | |
TestClient:: |
protected | function |
Returns the script to execute when the request must be insulated. Overrides Client:: |