class Operator extends BaseOperator

Methods for managing operators.

Methods

__construct($operator)

BaseOperator constructor.

__toString()

Serializes to string.

jsonSerialize()

Serializes to json.

operators()

Gets all supported operators.

friendlyRepresentations()

Gets user friendly representations of the operators.

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 array operators()

Gets all supported operators.

Return Value

array The supported operators.

static array friendlyRepresentations()

Gets user friendly representations of the operators.

Return Value

array