WorkbookSheet
FinalYes
Methods
- __construct() : mixed
- close() : void
- columns() : array<int, string>
- rows() : Generator<int, RawRowValues>
- sample() : Generator<int, RawRowValues>
- rows() for a bounded schema sample: every row it hands out stays buffered and the sheet stays open, so the rows() that follows replays the sample and parses on from where the sample stopped, instead of parsing the sample a second time. Closing the sheet stays with its owner.
Methods
__construct()
public
__construct(Path $path, WorkbookReader $reader) : mixed
Parameters
- $path : Path
- $reader : WorkbookReader
close()
public
close() : void
columns()
public
columns() : array<int, string>
Return values
array<int, string>rows()
public
rows() : Generator<int, RawRowValues>
Return values
Generator<int, RawRowValues>sample()
rows() for a bounded schema sample: every row it hands out stays buffered and the sheet stays open, so the rows() that follows replays the sample and parses on from where the sample stopped, instead of parsing the sample a second time. Closing the sheet stays with its owner.
public
sample() : Generator<int, RawRowValues>