src/Dev/CSVParser.php
protected function openFile()
    {
        ini_set('auto_detect_line_endings', 1);
        $this->fileHandle = fopen($this->filename, 'r');

        if ($this->providedHeaderRow) {
            $this->headerRow = $this->remapHeader($this->providedHeaderRow);
        }
    }
protected function openFile()
    {
        ini_set('auto_detect_line_endings', 1);
        $this->fileHandle = fopen($this->filename, 'r');

        if ($this->providedHeaderRow) {
            $this->headerRow = $this->remapHeader($this->providedHeaderRow);
        }
    }
protected function openFile ( ) { ini_set ( 'auto_detect_line_endings' , 1 ) ; $ this -> fileHandle = fopen ( $ this -> filename , 'r' ) ; if ( $ this -> providedHeaderRow ) { $ this -> headerRow = $ this -> remapHeader ( $ this -> providedHeaderRow ) ; } }
Open the CSV file for reading.
Open the CSV file for reading .