Flow PHP

ExcelEncoder implements Encoder

FinalYes
Tags
implements

Interfaces

Encoder

Methods

__construct()  : mixed
decode()  : array<string|int, mixed>
encode()  : array<string|int, mixed>
encodeHeader()  : array<int, string>

Methods

__construct()

public __construct([bool $withHeader = true ][, bool $convertEmptyToNull = true ][, string $dateTimeFormat = 'Y-m-d H:i:s' ][, string $dateFormat = 'Y-m-d' ][, string $timeFormat = '%H:%I:%S' ]) : mixed
Parameters
$withHeader : bool = true
$convertEmptyToNull : bool = true
$dateTimeFormat : string = 'Y-m-d H:i:s'
$dateFormat : string = 'Y-m-d'
$timeFormat : string = '%H:%I:%S'

decode()

public decode(array<string|int, mixed> $batch) : array<string|int, mixed>
Parameters
$batch : array<string|int, mixed>
Return values
array<string|int, mixed>

encode()

public encode(array<string|int, mixed> $batch) : array<string|int, mixed>
Parameters
$batch : array<string|int, mixed>
Return values
array<string|int, mixed>

encodeHeader()

public encodeHeader(array<int, string> $headers) : array<int, string>
Parameters
$headers : array<int, string>
Return values
array<int, string>
On this page

Search results