Property | Type | Description | |
---|---|---|---|
$kernel |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, array $server = [], Symfony\Component\BrowserKit\History $history = null, Symfony\Component\BrowserKit\CookieJar $cookieJar = null ) | Constructor. | |
getRequest ( ) : |
||
getResponse ( ) : |
Method | Description | |
---|---|---|
doRequest ( |
Makes a request. | |
filterFiles ( array $files ) : array | Filters an array of files. | |
filterRequest ( Symfony\Component\BrowserKit\Request $request ) : |
Converts the BrowserKit request to a HttpKernel request. | |
filterResponse ( |
Converts the HttpKernel response to a BrowserKit response. | |
getHandleScript ( ) | ||
getScript ( |
Returns the script to execute when the request must be insulated. |
public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, array $server = [], Symfony\Component\BrowserKit\History $history = null, Symfony\Component\BrowserKit\CookieJar $cookieJar = null ) | ||
$kernel | Symfony\Component\HttpKernel\HttpKernelInterface | An HttpKernel instance |
$server | array | The server parameters (equivalent of $_SERVER) |
$history | Symfony\Component\BrowserKit\History | A History instance to store the browser history |
$cookieJar | Symfony\Component\BrowserKit\CookieJar | A CookieJar instance to store the cookies |
protected doRequest ( |
||
$request | A Request instance | |
return | A Response instance |
protected filterFiles ( array $files ) : array | ||
$files | array | An array of files |
return | array | An array with all uploaded files marked as already moved |
protected filterRequest ( Symfony\Component\BrowserKit\Request $request ) : |
||
$request | Symfony\Component\BrowserKit\Request | A DomRequest instance |
return | A Request instance |
protected filterResponse ( |
||
$response | A Response instance | |
return | Symfony\Component\BrowserKit\Response | A DomResponse instance |
public getRequest ( ) : |
||
return | A Request instance |
public getResponse ( ) : |
||
return | A Response instance |