1 | <?php |
||
5 | class Goutte extends BrowserKit |
||
6 | { |
||
7 | /** |
||
8 | * headers are no more stored on client, because client does not flush them when reset/restart session. |
||
9 | * They are on Behat\Mink\Driver\BrowserKitDriver and there is no way to get them. |
||
10 | * |
||
11 | * @var array |
||
12 | */ |
||
13 | private $requestHeaders = []; |
||
14 | |||
15 | public function send($method, $url, $parameters = [], $files = [], $content = null, $headers = []) |
||
22 | |||
23 | public function getServer() |
||
28 | |||
29 | public function getParameters() |
||
34 | |||
35 | public function setHttpHeader($name, $value) |
||
40 | |||
41 | private function resetHttpHeaders() |
||
45 | } |
||
46 |