Flow PHP

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
Generator

withCharactersReadInLine()

public withCharactersReadInLine(int<1, max> $charactersReadInLine) : self
Parameters
$charactersReadInLine : int<1, max>
Return values
self

withEmptyToNull()

public withEmptyToNull(bool $emptyToNull) : self
Parameters
$emptyToNull : bool
Return values
self

withEnclosure()

public withEnclosure(string $enclosure) : self
Parameters
$enclosure : string
Return values
self

withEscape()

public withEscape(string $escape) : self
Parameters
$escape : string
Return values
self

withHeader()

public withHeader(bool $withHeader) : self
Parameters
$withHeader : bool
Return values
self

withSchema()

public withSchema(Schema $schema) : self
Parameters
$schema : Schema
Return values
self

withSeparator()

public withSeparator(string $separator) : self
Parameters
$separator : string
Return values
self

        
On this page

Search results