Skip to content

Novis\Spreadsheet\Written

The result of Workbook::finish. rows has the number of rows of each sheet, by sheet name. size is the size of the file in bytes. bytes is the whole file from createInMemory, or null.

Returned by

You get a Novis\Spreadsheet\Written from these methods:

Members

1 member.

MemberSignature
constructorconstructor(array<int> $rows, int $size, ?bytes $bytes): void

Properties

  • $written->rowsarray<int>the number of rows of each sheet, by sheet name
  • $written->sizeintthe size of the file, in bytes
  • $written->bytes?bytesthe whole file from createInMemory, or null