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>
headers()  : null|array<int, string>
The names decode() resolved from the first row it saw; null before the first decode().

Methods

__construct()

public __construct([bool $withHeader = true ][, bool $convertEmptyToNull = true ][, string $timeFormat = '%H:%I:%S' ]) : mixed
Parameters
$withHeader : bool = true
$convertEmptyToNull : bool = true
$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>

headers()

The names decode() resolved from the first row it saw; null before the first decode().

public headers() : null|array<int, string>
Return values
null|array<int, string>
On this page

Search results