final class Reference extends SerializableComponent (View source)

REFERENCES keyword parser.

Properties

Expression|null $table

The referenced table.

string[] $columns

The referenced columns.

OptionsArray|null $options

The options of the referencing.

Methods

string
__toString()

No description

array
jsonSerialize()

No description

__construct(Expression|null $table = null, array $columns = [], OptionsArray|null $options = 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(Expression|null $table = null, array $columns = [], OptionsArray|null $options = null)

No description

Parameters

Expression|null $table

the name of the table referenced

array $columns

the columns referenced

OptionsArray|null $options

the options

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