CellStyler
Methods
- style() : Style|null
- Return a Style for the given cell, or null for default styling.
Methods
style()
Return a Style for the given cell, or null for default styling.
public
style(Entry<string|int, mixed> $entry, int $rowNumber, int $columnIndex, string $sheetName) : Style|null
Parameters
- $entry : Entry<string|int, mixed>
-
the entry being written
- $rowNumber : int
-
the 1-based row number in the sheet (1 = first data row, not header)
- $columnIndex : int
-
the 0-based column index
- $sheetName : string
-
the name of the sheet being written to