Lines Matching refs:lines
242 * Get all lines that has been returned by getLine() method.
259 private array $lines = [];
289 $this->lines[] = $line;
302 * Get all stream read lines.
308 return $this->lines;
327 private array $lines = [];
351 while ($this->position >= count($this->lines)) {
353 $lines = file($this->filePath);
354 if ($lines === false) {
357 $this->lines = $lines;
358 if ($this->position < count($lines)) {
372 return $this->lines[$this->position++];
376 * Get all returned lines from the file.
382 return array_slice($this->lines, 0, $this->position);