class XlsxExporter (View source)

Methods

__construct(Translator $translator)

XlsxExporter constructor.

string
exportXlsx(IteratorAggregate|array $data, array $keys = [])

Export an array of data to XLSX format.

Details

__construct(Translator $translator)

XlsxExporter constructor.

Parameters

Translator $translator

string exportXlsx(IteratorAggregate|array $data, array $keys = [])

Export an array of data to XLSX format.

Parameters

IteratorAggregate|array $data
array $keys

Return Value

string