You are here

public function LineIterator::setLineLimit in Feeds extensible parsers 8

Sets the number of lines to read.

Parameters

int $limit: The number of lines to read.

File

src/File/LineIterator.php, line 65

Class

LineIterator
Text lines from file iterator.

Namespace

Drupal\feeds_ex\File

Code

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