You are here

public function CSVFileObject::getHeaderRowCount in Migrate Source CSV 8

Same name and namespace in other branches
  1. 8.2 src/CSVFileObject.php \Drupal\migrate_source_csv\CSVFileObject::getHeaderRowCount()

Number of header rows.

Return value

int Get the number of header rows, zero if no header row.

1 call to CSVFileObject::getHeaderRowCount()
CSVFileObject::rewind in src/CSVFileObject.php

File

src/CSVFileObject.php, line 87
Contains \Drupal\migrate_source_csv\CSVFileObject.php.

Class

CSVFileObject
Defines a CSV file object.

Namespace

Drupal\migrate_source_csv

Code

public function getHeaderRowCount() {
  return $this->headerRowCount;
}