CSVWriteOptions
Read onlyYes
FinalYes
Properties
- $dateFormat : string
- $dateTimeFormat : string
- $enclosure : string
- $escape : string
- $newLineSeparator : string
- $separator : string
Methods
- __construct() : mixed
Properties
$dateFormat
public
string
$dateFormat
= 'Y-m-d'
$dateTimeFormat
public
string
$dateTimeFormat
= DateTimeInterface::ATOM
$enclosure
public
string
$enclosure
= '"'
$escape
public
string
$escape
= '\\'
$newLineSeparator
public
string
$newLineSeparator
= PHP_EOL
$separator
public
string
$separator
= ','
Methods
__construct()
public
__construct([string $separator = ',' ][, string $enclosure = '"' ][, string $escape = '\\' ][, string $newLineSeparator = PHP_EOL ][, string $dateTimeFormat = DateTimeInterface::ATOM ][, string $dateFormat = 'Y-m-d' ]) : mixed
Parameters
- $separator : string = ','
- $enclosure : string = '"'
- $escape : string = '\\'
- $newLineSeparator : string = PHP_EOL
- $dateTimeFormat : string = DateTimeInterface::ATOM
- $dateFormat : string = 'Y-m-d'