Lines Matching refs:this
30 $this->addStream($stream);
37 $this->rewind();
38 return $this->getContents();
59 $this->seekable = false;
62 $this->streams[] = $stream;
67 return Utils::copyToString($this);
77 $this->pos = $this->current = 0;
78 $this->seekable = true;
80 foreach ($this->streams as $stream) {
84 $this->streams = [];
96 $this->pos = $this->current = 0;
97 $this->seekable = true;
99 foreach ($this->streams as $stream) {
103 $this->streams = [];
110 return $this->pos;
125 foreach ($this->streams as $stream) {
138 return !$this->streams ||
139 ($this->current >= count($this->streams) - 1 &&
140 $this->streams[$this->current]->eof());
145 $this->seek(0);
155 if (!$this->seekable) {
161 $this->pos = $this->current = 0;
164 foreach ($this->streams as $i => $stream) {
174 while ($this->pos < $offset && !$this->eof()) {
175 $result = $this->read(min(8096, $offset - $this->pos));
190 $total = count($this->streams) - 1;
197 if ($progressToNext || $this->streams[$this->current]->eof()) {
199 if ($this->current === $total) {
202 $this->current++;
205 $result = $this->streams[$this->current]->read($remaining);
217 $this->pos += strlen($buffer);
234 return $this->seekable;