Math
in package
Expression class for DQL math statements.
Tags
Table of Contents
- $leftExpr : mixed
- $operator : string
- $rightExpr : mixed
- __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
Return values
mixed —__toString()
public
__toString() : string
Return values
string —getLeftExpr()
public
getLeftExpr() : mixed
Return values
mixed —getOperator()
public
getOperator() : string
Return values
string —getRightExpr()
public
getRightExpr() : mixed