public function appendStream(StreamInterface $stream) { if (!$stream->canRead()) { throw new Exception\NotSupportedException('Stream does not support read.'); } if (!$stream->canSeek()) { $this->canSeek = false; } $this->streams[] = $stream; }
/** * @return bool */ public function canSeek() { return $this->stream->canSeek(); }
/** * @return bool */ public function canSeek() { $this->initializeStream(); return $this->stream->canSeek(); }