Lines Matching refs:stream
13 private $stream; variable in GuzzleHttp\\Stream\\GuzzleStreamWrapper
21 * @param StreamInterface $stream The stream to get a resource for
26 public static function getResource(StreamInterface $stream) argument
30 if ($stream->isReadable()) {
31 $mode = $stream->isWritable() ? 'r+' : 'r';
32 } elseif ($stream->isWritable()) {
40 'guzzle' => ['stream' => $stream],
63 $this->stream = $options['guzzle']['stream'];
70 return $this->stream->read($count);
75 return (int) $this->stream->write($data);
80 return $this->stream->tell();
85 return $this->stream->eof();
90 return $this->stream->seek($offset, $whence);
109 'size' => $this->stream->getSize() ?: 0,