RelationalOperator
class RelationalOperator extends BaseOperator
The relational operators for evaluating numeric expressions.
Methods
__construct($operator)
BaseOperator constructor.
__toString()
Serializes to string.
jsonSerialize()
Serializes to json.
equal()
Equals.
notEqual()
Does not equal.
lessThan()
Less than.
greaterThan()
Greater than.
lessThanOrEqual()
Less than or equals.
greaterThanOrEqual()
Greater than or equals.
Details
__construct($operator)
BaseOperator constructor.
string
__toString()
Serializes to string.
mixed
jsonSerialize()
Serializes to json.
static RelationalOperator
equal()
Equals.
static RelationalOperator
notEqual()
Does not equal.
static RelationalOperator
lessThan()
Less than.
static RelationalOperator
greaterThan()
Greater than.
static RelationalOperator
lessThanOrEqual()
Less than or equals.
static RelationalOperator
greaterThanOrEqual()
Greater than or equals.
Constants
EQUAL |
|
NOT_EQUAL |
|
LESS_THAN |
|
GREATER_THAN |
|
LESS_THAN_OR_EQUAL |
|
GREATER_THAN_OR_EQUAL |
|