WorkbookManager
FinalYes
Methods
- __construct() : mixed
- close() : void
- isHeaderWritten() : bool
- open() : void
- writeHeader() : void
- writeRow() : void
Methods
__construct()
public
__construct([ExcelWriter $writerType = ExcelWriter::XLSX ][, Options|Options|null $options = null ]) : mixed
Parameters
- $writerType : ExcelWriter = ExcelWriter::XLSX
- $options : Options|Options|null = null
close()
public
close() : void
isHeaderWritten()
public
isHeaderWritten(string $sheetName) : bool
Parameters
- $sheetName : string
Return values
boolopen()
public
open(string $filePath) : void
Parameters
- $filePath : string
writeHeader()
public
writeHeader(string $sheetName, array<string|int, string> $headers[, Style|null $style = null ]) : void
Parameters
- $sheetName : string
- $headers : array<string|int, string>
- $style : Style|null = null
writeRow()
public
writeRow(string $sheetName, array<int, null|bool|float|int|string> $values[, null|array<int, null|Style> $styles = null ]) : void
Parameters
- $sheetName : string
- $values : array<int, null|bool|float|int|string>
- $styles : null|array<int, null|Style> = null