class CsvTableReader implements TableReader (View source)

Methods

public
__construct($filename)

No description

public
array
getColumns()

Return the names of the the columns in this table

public
Iterator
getIterator()

Return an iterator that returns each record of the table reader as a map.

Details

__construct($filename)

No description

Parameters

$filename

array getColumns()

Return the names of the the columns in this table

Return Value

array

The column names

Iterator getIterator()

Return an iterator that returns each record of the table reader as a map.

Return Value

Iterator