Flow PHP

PruneColumnsTransformer implements Transformer

Read onlyYes
FinalYes

Unlike {@see SelectColumnsTransformer}, which throws when a reference is not declared by the schema, prune keeps what is there and silently skips absent references - pruned rows are spilled to storage, where the pruning is opportunistic rather than a contract.

Interfaces

Transformer

Methods

__construct()  : mixed
bind()  : BoundStep<string|int, Transformer>
describe()  : null|Description
fromDescription()  : static
transform()  : Rows

Methods

fromDescription()

public static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
$data : array<string|int, mixed>
$rebuild : Rebuild
Return values
static
On this page

Search results