AggregateExpression
extends Node
in package
Description of AggregateExpression.
Tags
Table of Contents
- $functionName : string
- $isDistinct : bool
- Some aggregate expressions support distinct, eg COUNT.
- $pathExpression : PathExpression|SimpleArithmeticExpression
- __construct() : mixed
- __toString() : string
- Dumps the AST Node into a string representation for information purpose only.
- dispatch() : string
- Double-dispatch method, supposed to dispatch back to the walker.
- dump() : string
Properties
$functionName
public
string
$functionName
$isDistinct
Some aggregate expressions support distinct, eg COUNT.
public
bool
$isDistinct
= false
$pathExpression
public
PathExpression|SimpleArithmeticExpression
$pathExpression
Methods
__construct()
public
__construct(string $functionName, PathExpression|SimpleArithmeticExpression $pathExpression, bool $isDistinct) : mixed
Parameters
- $functionName : string
- $pathExpression : PathExpression|SimpleArithmeticExpression
- $isDistinct : bool
Return values
mixed —__toString()
Dumps the AST Node into a string representation for information purpose only.
public
__toString() : string
Return values
string —dispatch()
Double-dispatch method, supposed to dispatch back to the walker.
public
dispatch(mixed $walker) : string
Parameters
- $walker : mixed
Return values
string —dump()
public
dump(object $obj) : string
Parameters
- $obj : object