public function Response::__toString

Same name in this branch

Convert the response object to a string

Return value

string

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 179

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function __toString() {
  return $this
    ->getMessage();
}