CSVParser API doc fix

CSVParser API doc fix
This commit is contained in:
3Dgoo 2017-10-31 10:17:25 +10:30 committed by GitHub
parent fde8eab537
commit ed1a16b6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,9 @@
* <code>
* $parser = new CSVParser('myfile.csv');
* $parser->mapColumns(array(
* 'first name' => 'FirstName'
* 'lastname' => 'Surname',
* 'first name' => 'FirstName',
* 'lastname' => 'Surname',
* 'last name' => 'Surname'
* ));
* foreach($parser as $row) {
* // $row is a map of column name => column value