public function Stream::isReadable

Check if the stream is readable

Return value

bool

Overrides StreamInterface::isReadable

3 calls to Stream::isReadable()
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 210

Class

Stream
PHP stream implementation

Namespace

Guzzle\Stream

Code

public function isReadable() {
  return $this->cache[self::IS_READABLE];
}