final class Reference implements Component (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

__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.

string
__toString()

No description

Details

__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

string __toString()

No description

Return Value

string