You are here

public function LineIterator::valid in Feeds extensible parsers 8

Implements Iterator::valid().

File

src/File/LineIterator.php, line 55

Class

LineIterator
Text lines from file iterator.

Namespace

Drupal\feeds_ex\File

Code

public function valid() {
  return (!$this->lineLimit || $this->linesRead < $this->lineLimit) && parent::valid() && parent::current();
}