Flow PHP

MatchCondition implements ScalarFunction uses ResolvesFromChildren

Read onlyYes
FinalYes

Interfaces

ScalarFunction

Methods

__construct()  : mixed
children()  : array<int, ScalarFunction>
Every operand of this node that is an expression, in constructor order.
eval()  : mixed
resolved()  : bool
returns()  : Type<string|int, mixed>
The type of the column this function produces, before any row is read.
valid()  : bool
withChildren()  : static
A copy of this node with $children in place of children(): same count, same order, same per-element narrowing. Never mutates $this.

Methods

__construct()

public __construct(mixed $condition, mixed $then) : mixed
Parameters
$condition : mixed
$then : mixed

returns()

The type of the column this function produces, before any row is read.

public returns() : Type<string|int, mixed>
Return values
Type<string|int, mixed>

withChildren()

A copy of this node with $children in place of children(): same count, same order, same per-element narrowing. Never mutates $this.

public withChildren(array<int, FunctionTree$children) : static
Parameters
$children : array<int, FunctionTree>
Return values
static
On this page

Search results