Свойство | Type | Description | |
---|---|---|---|
$kernel |
Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, array $server = [], Symfony\Component\BrowserKit\History $history = null, Symfony\Component\BrowserKit\CookieJar $cookieJar = null ) | Constructor. | |
getRequest ( ) : |
||
getResponse ( ) : |
Méthode | 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 | |
Résultat | A Response instance |
protected filterFiles ( array $files ) : array | ||
$files | array | An array of files |
Résultat | 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 |
Résultat | A Request instance |
protected filterResponse ( |
||
$response | A Response instance | |
Résultat | Symfony\Component\BrowserKit\Response | A DomResponse instance |
public getRequest ( ) : |
||
Résultat | A Request instance |
public getResponse ( ) : |
||
Résultat | A Response instance |