You are here

public function FeedsExLineIterator::setLineLimit in Feeds extensible parsers 7

Same name and namespace in other branches
  1. 7.2 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;
}