Flow PHP

GoogleSheetEncoder implements Encoder

FinalYes
Tags
implements

Interfaces

Encoder

Methods

__construct()  : mixed
decode()  : array<string|int, mixed>
encode()  : array<string|int, mixed>
headers()  : array<int, string>
The header the first decoded row consumed, or the generated `e00`... names under withHeader(false); [] before any row.

Methods

__construct()

public __construct([bool $withHeader = true ][, bool $dropExtraColumns = true ][, bool $emptyToNull = true ]) : mixed
Parameters
$withHeader : bool = true
$dropExtraColumns : bool = true
$emptyToNull : bool = true

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>

headers()

The header the first decoded row consumed, or the generated `e00`... names under withHeader(false); [] before any row.

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

Search results