CSVDialects
FinalYes
Methods
- for() : CSVDialect|null
- fromArray() : self
- learn() : void
- normalize() : array<string, array{separator: string, enclosure: string, escape: string}>
Methods
for()
public
for(string $uri) : CSVDialect|null
Parameters
- $uri : string
Return values
CSVDialect|nullfromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
-
the shape of normalize()
Return values
selflearn()
public
learn(string $uri, CSVDialect $dialect) : void
Parameters
- $uri : string
- $dialect : CSVDialect
normalize()
public
normalize() : array<string, array{separator: string, enclosure: string, escape: string}>