Lines Matching refs:lines
230 * Get all lines that has been returned by getLine() method.
247 private array $lines = [];
277 $this->lines[] = $line;
290 * Get all stream read lines.
296 return $this->lines;
315 private array $lines = [];
339 while ($this->position >= count($this->lines)) {
341 $lines = file($this->filePath);
342 if ($lines === false) {
345 $this->lines = $lines;
346 if ($this->position < count($lines)) {
360 return $this->lines[$this->position++];
364 * Get all returned lines from the file.
370 return array_slice($this->lines, 0, $this->position);