Doctrine\ORM\Query\Expr\Comparison
Expression class for DQL comparison expressions
- Author: Guilherme Blanco <guilhermeblanco@hotmail.com>
Synopsis
class Comparison
{
- // constants
- const EQ = '=';
- const NEQ = '<>';
- const LT = '<';
- const LTE = '<=';
- const GT = '>';
- const GTE = '>=';
- // members
- protected mixed $leftExpr;
- protected string $operator;
- protected mixed $rightExpr;
- // methods
- public void __construct()
- public mixed getLeftExpr()
- public string getOperator()
- public mixed getRightExpr()
- public string __toString()
Constants
Name | Value |
---|---|
EQ | '=' |
NEQ | '<>' |
LT | '<' |
LTE | '<=' |
GT | '>' |
GTE | '>=' |
Members
protected
- $leftExpr — mixed
- $operator — string
- $rightExpr — mixed
Methods
public
- __construct() — Creates a comparison expression with the given arguments.
- __toString()
- getLeftExpr()
- getOperator()
- getRightExpr()