public function AbstractEntityBodyDecorator::__toString

Convert the stream to a string if the stream is readable and the stream is seekable.

Return value

string

Overrides StreamInterface::__toString

1 method overrides AbstractEntityBodyDecorator::__toString()
ReadLimitEntityBody::__toString in drupal/core/vendor/guzzle/http/Guzzle/Http/ReadLimitEntityBody.php
Returns only a subset of the decorated entity body when cast as a string

File

drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php, line 30

Class

AbstractEntityBodyDecorator
Abstract decorator used to wrap entity bodies

Namespace

Guzzle\Http

Code

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