src/Adapter/CsvImportAdapter.php
/**
     * Imports the content of the CSV file with the passed filename.
     *
     * @param callable $callback The callback that processes the row
     * @param string   $filename The filename to process
     *
     * @return void
     */
Imports the content of the CSV file with the passed filename.
@param callable $callback The callback that processes the row
@param string   $filename The filename to process

@return void
Imports the content of the CSV file with the passed filename . @param callable $callback The callback that processes the row @param string $filename The filename to process @return void
public function import(callable $callback, $filename)
    {
        $this->interpreter->reset();
        $this->interpreter->addObserver($callback);
        $this->lexer->parse($filename, $this->interpreter);
    }
public function import ( callable $ callback , $ filename ) { $ this -> interpreter -> reset ( ) ; $ this -> interpreter -> addObserver ( $ callback ) ; $ this -> lexer -> parse ( $ filename , $ this -> interpreter ) ; }
Imports the content of the CSV file with the passed filename.
Imports the content of the CSV file with the passed filename .
// reset and initialize the interpreter // parse the CSV file to be imported