interface Component implements Stringable (View source)

Defines a component that is later extended to parse specialized components or keywords.

There is a small difference between Component and Keyword classes: usually, Component parsers can be reused in multiple situations and Keyword parsers count on the *Component classes to do their job.

A component (of a statement) is a part of a statement that is common to multiple query types.

Methods

string
build()

Builds the string representation of a component of this type.

Details

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