CSVExtractor implements Extractor, FileExtractor, LimitableExtractor uses Limitable, PathFiltering
FinalYes
Interfaces
- Extractor
- FileExtractor
- LimitableExtractor
Methods
- __construct() : mixed
- extract() : Generator
- source() : Path
- withCharactersReadInLine() : self
- withEmptyToNull() : self
- withEnclosure() : self
- withEscape() : self
- withHeader() : self
- withSchema() : self
- withSeparator() : self
Methods
__construct()
public
__construct(Path $path) : mixed
Parameters
- $path : Path
extract()
public
extract(FlowContext $context) : Generator
Parameters
- $context : FlowContext
Return values
Generatorsource()
public
source() : Path
Return values
PathwithCharactersReadInLine()
public
withCharactersReadInLine(int<1, max> $charactersReadInLine) : self
Parameters
- $charactersReadInLine : int<1, max>
Return values
selfwithEmptyToNull()
public
withEmptyToNull(bool $emptyToNull) : self
Parameters
- $emptyToNull : bool
Return values
selfwithEnclosure()
public
withEnclosure(string $enclosure) : self
Parameters
- $enclosure : string
Return values
selfwithEscape()
public
withEscape(string $escape) : self
Parameters
- $escape : string
Return values
selfwithHeader()
public
withHeader(bool $withHeader) : self
Parameters
- $withHeader : bool
Return values
selfwithSchema()
public
withSchema(Schema $schema) : self
Parameters
- $schema : Schema
Return values
selfwithSeparator()
public
withSeparator(string $separator) : self
Parameters
- $separator : string