Flow PHP

AggregatingFunction extends FunctionTree

Methods

aggregate()  : void
children()  : array<int, FunctionTree>
Every operand of this node that is an expression, in constructor order.
outputName()  : string
Decided in the constructor, never mutated.
references()  : null|array<int, Reference>
resolved()  : bool
True when this node and every node in children() can answer returns().
returns()  : Type<string|int, mixed>
An OptionalType return declares the produced column nullable; there is no nullable() peer.
value()  : null|array<string|int, mixed>|bool|float|int|object|string
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

children()

Every operand of this node that is an expression, in constructor order.

public children() : array<int, FunctionTree>

Raw scalars, enums, Types and scope-introducing bodies are fields, not children.

Return values
array<int, FunctionTree>

outputName()

Decided in the constructor, never mutated.

public outputName() : string
Return values
string

references()

public references() : null|array<int, Reference>
Return values
null|array<int, Reference>

references this aggregator reads, or null when they cannot be statically enumerated (disables spill column pruning)

resolved()

True when this node and every node in children() can answer returns().

public resolved() : bool
Return values
bool

returns()

An OptionalType return declares the produced column nullable; there is no nullable() peer.

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

value()

public value() : null|array<string|int, mixed>|bool|float|int|object|string
Return values
null|array<string|int, mixed>|bool|float|int|object|string

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