Flow PHP

DynamicEncoder implements ValueEncoder

FinalYes

Tagged encoding for values whose type is only known at runtime (mixed/union/scalar/literal/array columns, dynamic map keys, structure extras).

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

encode()

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

Search results