isCli()
isCli() : boolean
Returns whether we run on CLI or browser.
Helper class to be used in sample code.
write(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, string $filename, array<mixed,string> $writers = array('Xlsx', 'Xls'))
Write documents.
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
string | $filename | |
array<mixed,string> | $writers |
logWrite(\PhpOffice\PhpSpreadsheet\Writer\IWriter $writer, string $path, float $callStartTime)
Log a line about the write operation.
\PhpOffice\PhpSpreadsheet\Writer\IWriter | $writer | |
string | $path | |
float | $callStartTime |