Comparison
in package
Expression class for DQL comparison expressions.
Tags
Table of Contents
Constants
Properties
- $leftExpr : mixed
- $operator : string
- $rightExpr : mixed
Methods
- __construct() : mixed
- Creates a comparison expression with the given arguments.
- __toString() : string
- getLeftExpr() : mixed
- getOperator() : string
- getRightExpr() : mixed
Constants
EQ
public
mixed
EQ
= '='
GT
public
mixed
GT
= '>'
GTE
public
mixed
GTE
= '>='
LT
public
mixed
LT
= '<'
LTE
public
mixed
LTE
= '<='
NEQ
public
mixed
NEQ
= '<>'
Properties
$leftExpr
protected
mixed
$leftExpr
$operator
protected
string
$operator
$rightExpr
protected
mixed
$rightExpr
Methods
__construct()
Creates a comparison 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