You are here

public function FeedsExLineIterator::valid in Feeds extensible parsers 7.2

Same name and namespace in other branches
  1. 7 src/File/FeedsExLineIterator.php \FeedsExLineIterator::valid()

Implements Iterator::valid().

File

src/File/FeedsExLineIterator.php, line 56
Contains FeedsExLineIterator.

Class

FeedsExLineIterator
Text lines from file iterator.

Code

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