class Math (View source)

Expression class for DQL math statements.

Properties

protected mixed $leftExpr
protected string $operator
protected mixed $rightExpr

Methods

__construct(mixed $leftExpr, string $operator, mixed $rightExpr)

Creates a mathematical expression with the given arguments.

mixed
getLeftExpr()

No description

string
getOperator()

No description

mixed
getRightExpr()

No description

string
__toString()

No description

Details

__construct(mixed $leftExpr, string $operator, mixed $rightExpr)

Creates a mathematical expression with the given arguments.

Parameters

mixed $leftExpr
string $operator
mixed $rightExpr

mixed getLeftExpr()

Return Value

mixed

string getOperator()

Return Value

string

mixed getRightExpr()

Return Value

mixed

string __toString()

Return Value

string