Flow PHP

Collect implements AggregatingFunction uses ResolvesFromChildren

FinalYes

Interfaces

AggregatingFunction

Methods

__construct()  : mixed
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()  : array<int, Reference>
resolved()  : bool
returns()  : Type<string|int, mixed>
The element type is the reference's own declaration - over a nullable column the collected list genuinely contains nulls, so ?list<?T> is the honest shape.
value()  : array<string|int, mixed>
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>
Return values
array<int, FunctionTree>

outputName()

Decided in the constructor, never mutated.

public outputName() : string
Return values
string

returns()

The element type is the reference's own declaration - over a nullable column the collected list genuinely contains nulls, so ?list<?T> is the honest shape.

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

value()

public value() : array<string|int, mixed>
Return values
array<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