CSVDialect
Read onlyYes
FinalYes
Properties
- $enclosure : string
- $escape : string
- $separator : string
Methods
- __construct() : mixed
- assertParts() : void
- The checks of a dialect whose parts may be left to detection.
- fromArray() : self
- normalize() : array{separator: string, enclosure: string, escape: string}
Properties
$enclosure
public
string
$enclosure
$escape
public
string
$escape
$separator
public
string
$separator
Methods
__construct()
public
__construct(string $separator, string $enclosure, string $escape) : mixed
Parameters
- $separator : string
- $enclosure : string
- $escape : string
Tags
assertParts()
The checks of a dialect whose parts may be left to detection.
public
static assertParts(string|null $separator, string|null $enclosure, string|null $escape) : void
Parameters
- $separator : string|null
- $enclosure : string|null
- $escape : string|null
Tags
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
-
the shape of normalize()
Return values
selfnormalize()
public
normalize() : array{separator: string, enclosure: string, escape: string}