CsvTableWriter
class CsvTableWriter implements TableWriter (View source)
Methods
Details
__construct($filename)
No description
start(array $columns)
Start writing, declaring the columns that will be provided.
Must be called before writeRecord()
finish()
Finish writing.
writeRecord() must not be called after this
writeRecord(array $record)
Write a single record.