class StringRelationalOperator extends BaseOperator

The relational operators for evaluating string expressions.

Methods

__construct($operator)

BaseOperator constructor.

__toString()

Serializes to string.

jsonSerialize()

Serializes to json.

equal()

String Equals.

notEqual()

String does not equal.

in()

Is in (a list of strings).

notIn()

Is not in (a list of strings).

Details

__construct($operator)

BaseOperator constructor.

Parameters

Name Type Description
$operator

string __toString()

Serializes to string.

Return Value

string

mixed jsonSerialize()

Serializes to json.

Return Value

mixed

static StringRelationalOperator equal()

String Equals.

static StringRelationalOperator notEqual()

String does not equal.

static StringRelationalOperator in()

Is in (a list of strings).

static StringRelationalOperator notIn()

Is not in (a list of strings).

Constants

EQUAL

NOT_EQUAL

IN

NOT_IN