Flow PHP

CSVReadOptions

Read onlyYes
FinalYes

Properties

$charactersReadInLine  : int|null
$emptyToNull  : bool
$enclosure  : string|null
$escape  : string|null
$removeBOM  : bool
$separator  : string|null
$withHeader  : bool

Methods

__construct()  : mixed
withCharactersReadInLine()  : self
withEmptyToNull()  : self
withEnclosure()  : self
withEscape()  : self
withHeader()  : self
withRemoveBOM()  : self
withSeparator()  : self

Properties

$charactersReadInLine

public int|null $charactersReadInLine = null

Methods

__construct()

public __construct([bool $withHeader = true ][, bool $emptyToNull = true ][, bool $removeBOM = true ][, string|null $separator = null ][, string|null $enclosure = null ][, string|null $escape = null ][, null|int<1, max> $charactersReadInLine = null ]) : mixed
Parameters
$withHeader : bool = true
$emptyToNull : bool = true
$removeBOM : bool = true
$separator : string|null = null
$enclosure : string|null = null
$escape : string|null = null
$charactersReadInLine : null|int<1, max> = null
  • bytes read per step from a remote stream (S3, Azure); never splits a line

withCharactersReadInLine()

public withCharactersReadInLine(int<1, max> $charactersReadInLine) : self
Parameters
$charactersReadInLine : int<1, max>
  • bytes read per step from a remote stream (S3, Azure); never splits a line
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

withRemoveBOM()

public withRemoveBOM(bool $removeBOM) : self
Parameters
$removeBOM : bool
Return values
self

withSeparator()

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

Search results