Novis\Spreadsheet\Cell
One value with its own Style, or one cell of rich text. Make one with Cell::of or Cell::rich and put it in a row in place of the value.
Members
3 members.
| Member | Signature |
|---|---|
constructor | constructor(mixed $value, Style $style, ?array<Run> $runs = null): void |
of | of(mixed $value, Style $style): Cell |
rich | rich(array<{ text: string, style?: Style }> $runs): Cell |
Types
Run
Properties
$cell->valuemixedthe value of the cell. It isnullfor a rich text cell.$cell->styleStylethe style of the cell$cell->runs?array<Run>the parts of a rich text cell, each with its text and its style. It isnullfor every other cell.
