GoogleSheetSample
Read onlyYes
FinalYes
Properties
- $names : array<string|int, mixed>
- $rows : array<string|int, mixed>
- $wholeSheet : bool
Methods
- __construct() : mixed
Properties
$names
public
array<string|int, mixed>
$names
$rows
public
array<string|int, mixed>
$rows
$wholeSheet
public
bool
$wholeSheet
Methods
__construct()
public
__construct(array<int, string> $names, array<int, RawRowValues> $rows, bool $wholeSheet) : mixed
Parameters
- $names : array<int, string>
-
the header (or generated names) - known even when no data row follows
- $rows : array<int, RawRowValues>
- $wholeSheet : bool
-
the range reached the last row of the grid, so $rows IS the sheet and a read can be served from it instead of fetching the same rows again