Flow PHP

StructureEncoder implements ValueEncoder

FinalYes
Tags
implements

Interfaces

ValueEncoder
Turns one PHP value into its Floe binary representation. Implementations are built per column type by the {@see \Flow\Floe\ValueEncoder} factory.

Methods

__construct()  : mixed
encode()  : string

Methods

__construct()

public __construct(array<string|int, ValueEncoder<string|int, mixed>> $elements) : mixed
Parameters
$elements : array<string|int, ValueEncoder<string|int, mixed>>

structure element name => encoder

encode()

public encode(mixed $value) : string
Parameters
$value : mixed
Return values
string
On this page

Search results