public function LineIterator::rewind in Feeds extensible parsers 8
Implements Iterator::rewind().
File
- src/
File/ LineIterator.php, line 36
Class
- LineIterator
- Text lines from file iterator.
Namespace
Drupal\feeds_ex\FileCode
public function rewind() {
parent::rewind();
if ($this->startPosition) {
$this
->fseek($this->startPosition);
}
$this->linesRead = 0;
}