GoogleSheetExtractor implements Extractor, LimitableExtractor uses Limitable
FinalYes
Interfaces
- Extractor
- LimitableExtractor
Methods
- __construct() : mixed
- extract() : Generator
- withHeader() : self
- withOptions() : self
- withRowsPerPage() : self
Methods
__construct()
public
__construct(Sheets $service, string $spreadsheetId, Columns $columnRange) : mixed
Parameters
- $service : Sheets
- $spreadsheetId : string
- $columnRange : Columns
extract()
public
extract(FlowContext $context) : Generator
Parameters
- $context : FlowContext
Return values
GeneratorwithHeader()
public
withHeader(bool $withHeader) : self
Parameters
- $withHeader : bool
Return values
selfwithOptions()
public
withOptions(array{dateTimeRenderOption?: string, majorDimension?: string, valueRenderOption?: string} $options) : self
Parameters
- $options : array{dateTimeRenderOption?: string, majorDimension?: string, valueRenderOption?: string}
Return values
selfwithRowsPerPage()
public
withRowsPerPage(int $rowsPerPage) : self
Parameters
- $rowsPerPage : int