You are here

public function FeedsExLineIterator::setLineLimit in Feeds extensible parsers 7.2

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

Sets the number of lines to read.

Parameters

int $limit: The number of lines to read.

File

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

Class

FeedsExLineIterator
Text lines from file iterator.

Code

public function setLineLimit($limit) {
  $this->lineLimit = (int) $limit;
}