ArrayExtractor implements Extractor
FinalYes
Interfaces
Methods
- __construct() : mixed
- extract() : Generator<string|int, Rows>
- withSchema() : self
Methods
__construct()
public
__construct(iterable<string|int, array<string|int, mixed>> $dataset) : mixed
Parameters
- $dataset : iterable<string|int, array<string|int, mixed>>
extract()
public
extract(FlowContext $context) : Generator<string|int, Rows>
Parameters
- $context : FlowContext
Return values
Generator<string|int, Rows>withSchema()
public
withSchema(Schema $schema) : self
Parameters
- $schema : Schema