Lines Matching refs:lines
239 * Get all lines that has been returned by getLine() method.
256 private array $lines = [];
286 $this->lines[] = $line;
299 * Get all stream read lines.
305 return $this->lines;
324 private array $lines = [];
348 while ($this->position >= count($this->lines)) {
350 $lines = file($this->filePath);
351 if ($lines === false) {
354 $this->lines = $lines;
355 if ($this->position < count($lines)) {
369 return $this->lines[$this->position++];
373 * Get all returned lines from the file.
379 return array_slice($this->lines, 0, $this->position);