You are here

public function CSVFileObject::__construct in Migrate Source CSV 8.2

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

File

src/CSVFileObject.php, line 34

Class

CSVFileObject
Defines a CSV file object.

Namespace

Drupal\migrate_source_csv

Code

public function __construct($file_name) {

  // Necessary to use this approach because SplFileObject doesn't like NULL
  // arguments passed to it.
  call_user_func_array([
    'parent',
    '__construct',
  ], func_get_args());
}