Lines Matching refs:streams
17 private $streams = []; variable in GuzzleHttp\\Psr7\\AppendStream
24 * @param StreamInterface[] $streams Streams to decorate. Each stream must
27 public function __construct(array $streams = []) argument
29 foreach ($streams as $stream) {
62 $this->streams[] = $stream;
80 foreach ($this->streams as $stream) {
84 $this->streams = [];
99 foreach ($this->streams as $stream) {
103 $this->streams = [];
125 foreach ($this->streams as $stream) {
138 return !$this->streams ||
139 ($this->current >= count($this->streams) - 1 &&
140 $this->streams[$this->current]->eof());
164 foreach ($this->streams as $i => $stream) {
190 $total = count($this->streams) - 1;
197 if ($progressToNext || $this->streams[$this->current]->eof()) {
205 $result = $this->streams[$this->current]->read($remaining);