final class Condition extends SerializableComponent (View source)

Properties

array<int, mixed> $identifiers

Identifiers recognized.

bool $isOperator

Whether this component is an operator.

string $expr

The condition.

string $leftOperand
string $operator
string $rightOperand

Methods

string
__toString()

No description

array
jsonSerialize()

No description

__construct(string|null $expr = null)

No description

string
build()

Builds the string representation of a component of this type.

Details

string __toString()

No description

Return Value

string

array jsonSerialize()

No description

Return Value

array

__construct(string|null $expr = null)

No description

Parameters

string|null $expr

the condition or the operator

string build()

Builds the string representation of a component of this type.

In other words, this function represents the inverse function of {\PhpMyAdmin\SqlParser\Component::parse()}.

Return Value

string