Property | Type | Description | |
---|---|---|---|
$client |
Method | Description | |
---|---|---|
addPostFields ( array $formParams, array &$multipart, $arrayName = '' ) | ||
getClient ( ) | ||
removeHeader ( $name ) | ||
resetAuth ( ) | ||
resetHeaders ( ) | ||
restart ( ) | ||
setAuth ( $user, $password = '', $type = 'basic' ) | ||
setClient ( GuzzleHttp\ClientInterface $client ) | ||
setHeader ( $name, $value ) |
Method | Description | |
---|---|---|
addPostFiles ( array $files, array &$multipart, $arrayName = '' ) | ||
createResponse ( Psr\Http\Message\ResponseInterface $response ) | ||
doRequest ( Symfony\Component\BrowserKit\Request $request ) : Symfony\Component\BrowserKit\Response |
public addPostFields ( array $formParams, array &$multipart, $arrayName = '' ) | ||
$formParams | array | |
$multipart | array |
protected addPostFiles ( array $files, array &$multipart, $arrayName = '' ) | ||
$files | array | |
$multipart | array |
protected createResponse ( Psr\Http\Message\ResponseInterface $response ) | ||
$response | Psr\Http\Message\ResponseInterface |
protected doRequest ( Symfony\Component\BrowserKit\Request $request ) : Symfony\Component\BrowserKit\Response | ||
$request | Symfony\Component\BrowserKit\Request | |
return | Symfony\Component\BrowserKit\Response |
public setClient ( GuzzleHttp\ClientInterface $client ) | ||
$client | GuzzleHttp\ClientInterface |