class Stream

PHP stream implementation

Hierarchy

Expanded class hierarchy of Stream

2 files declare their use of Stream

File

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

Namespace

Guzzle\Stream
View source

Members

Namesort descending Modifiers Type Description Overrides
Stream::$cache protected property
Stream::$readWriteHash protected static property
Stream::$size protected property
Stream::$stream protected property
Stream::ftell public function Returns the current position of the file read/write pointer Overrides StreamInterface::ftell
Stream::getHash public static function Calculate a hash of a Stream
Stream::getMetaData public function Get stream metadata Overrides StreamInterface::getMetaData
Stream::getSize public function Get the size of the stream if able Overrides StreamInterface::getSize
Stream::getStream public function Get the stream resource Overrides StreamInterface::getStream
Stream::getStreamType public function Get a label describing the underlying implementation of the stream Overrides StreamInterface::getStreamType
Stream::getUri public function Get the URI/filename associated with this stream Overrides StreamInterface::getUri
Stream::getWrapper public function Get the stream wrapper type Overrides StreamInterface::getWrapper
Stream::getWrapperData public function Wrapper specific data attached to this stream. Overrides StreamInterface::getWrapperData
Stream::isConsumed public function Check if the stream has been consumed Overrides StreamInterface::isConsumed
Stream::isLocal public function Check if the stream is a local stream vs a remote stream Overrides StreamInterface::isLocal
Stream::isReadable public function Check if the stream is readable Overrides StreamInterface::isReadable
Stream::isSeekable public function Check if the string is repeatable Overrides StreamInterface::isSeekable
Stream::isWritable public function Check if the stream is writable Overrides StreamInterface::isWritable
Stream::IS_LOCAL constant
Stream::IS_READABLE constant
Stream::IS_WRITABLE constant
Stream::read public function Read data from the stream Overrides StreamInterface::read
Stream::rebuildCache protected function Reprocess stream metadata
Stream::rewind public function Rewind to the beginning of the stream Overrides StreamInterface::rewind 1
Stream::seek public function Seek to a position in the stream Overrides StreamInterface::seek
Stream::SEEKABLE constant
Stream::setSize public function Specify the size of the stream in bytes Overrides StreamInterface::setSize
Stream::setStream public function Set the stream that is wrapped by the object Overrides StreamInterface::setStream
Stream::STREAM_TYPE constant
Stream::WRAPPER_TYPE constant
Stream::write public function Write data to the stream Overrides StreamInterface::write
Stream::__construct public function Construct a new Stream
Stream::__destruct public function Closes the stream when the helper is destructed
Stream::__toString public function Convert the stream to a string if the stream is readable and the stream is seekable. Overrides StreamInterface::__toString