class JsonExpression extends Expression (View source)

Properties

protected mixed $value The value of the expression. from Expression

Methods

void
__construct(mixed $value)

Create a new raw query expression.

mixed
getValue()

Get the value of the expression.

string
__toString()

Get the value of the expression.

string
getJsonBindingParameter(mixed $value)

Translate the given value into the appropriate JSON binding parameter.

Details

void __construct(mixed $value)

Create a new raw query expression.

Parameters

mixed $value

Return Value

void

mixed getValue()

Get the value of the expression.

Return Value

mixed

string __toString()

Get the value of the expression.

Return Value

string

protected string getJsonBindingParameter(mixed $value)

Translate the given value into the appropriate JSON binding parameter.

Parameters

mixed $value

Return Value

string

Exceptions

InvalidArgumentException