Flow PHP

SerializedPayloadDecoder

Read onlyYes
FinalYes

A payload that does not decode still has to produce the declared shape, so every branch that gives up answers with the declared columns as nulls - the rule from_json follows.

Methods

decode()  : array<string, mixed>
of()  : self

Methods

of()

public static of(Reference $source, Serializer $serializer, array<string, string> $declared) : self
Parameters
$source : Reference
$serializer : Serializer
$declared : array<string, string>

output column name => column name in the payload

Return values
self
On this page

Search results