Math
in package
Expression class for DQL math statements.
Tags
Table of Contents
Properties
- $leftExpr : mixed
- $operator : string
- $rightExpr : mixed
Methods
- __construct() : mixed
- Creates a mathematical expression with the given arguments.
- __toString() : string
- getLeftExpr() : mixed
- getOperator() : string
- getRightExpr() : mixed
Properties
$leftExpr
protected
mixed
$leftExpr
$operator
protected
string
$operator
$rightExpr
protected
mixed
$rightExpr
Methods
__construct()
Creates a mathematical expression with the given arguments.
public
__construct(mixed $leftExpr, string $operator, mixed $rightExpr) : mixed
Parameters
- $leftExpr : mixed
- $operator : string
- $rightExpr : mixed
__toString()
public
__toString() : string
Return values
stringgetLeftExpr()
public
getLeftExpr() : mixed
getOperator()
public
getOperator() : string
Return values
stringgetRightExpr()
public
getRightExpr() : mixed