class Comparison implements Expression (View source)

Comparison of a field with a value by the given operator.

Constants

EQ

NEQ

LT

LTE

GT

GTE

IS

IN

NIN

CONTAINS

MEMBER_OF

STARTS_WITH

ENDS_WITH

Methods

__construct(string $field, string $operator, mixed $value)

No description

string
getField()

No description

getValue()

No description

string
getOperator()

No description

mixed
visit(ExpressionVisitor $visitor)

No description

Details

__construct(string $field, string $operator, mixed $value)

Parameters

string $field
string $operator
mixed $value

string getField()

Return Value

string

Value getValue()

Return Value

Value

string getOperator()

Return Value

string

mixed visit(ExpressionVisitor $visitor)

Parameters

ExpressionVisitor $visitor

Return Value

mixed