public function Stream::isConsumed

Check if the stream has been consumed

Return value

bool

Overrides StreamInterface::isConsumed

3 calls to Stream::isConsumed()
EntityBody::handleCompression in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
EntityBody::uncompress in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
Decompress a deflated string. Once uncompressed, the uncompressed string is then used as the wrapped stream.
Stream::__toString in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Convert the stream to a string if the stream is readable and the stream is seekable.

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php, line 226

Class

Stream
PHP stream implementation

Namespace

Guzzle\Stream

Code

public function isConsumed() {
  return feof($this->stream);
}