protected function Client::createResponse in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/fabpot/goutte/Goutte/Client.php \Goutte\Client::createResponse()
1 call to Client::createResponse()
- Client::doRequest in vendor/
fabpot/ goutte/ Goutte/ Client.php
File
- vendor/
fabpot/ goutte/ Goutte/ Client.php, line 204
Class
- Client
- Client.
Namespace
GoutteCode
protected function createResponse(ResponseInterface $response) {
return new Response((string) $response
->getBody(), $response
->getStatusCode(), $response
->getHeaders());
}