OrderKeyword
final class OrderKeyword extends SerializableComponent (View source)
ORDER BY keyword parser.
Properties
| Expression|null | $expr | The expression that is used for ordering. |
|
| OrderSortKeyword | $type | The order type. |
Methods
__construct(Expression|null $expr = null, OrderSortKeyword $type = OrderSortKeyword::Asc)
No description
string
build()
Builds the string representation of a component of this type.
Details
string
__toString()
No description
array
jsonSerialize()
No description
__construct(Expression|null $expr = null, OrderSortKeyword $type = OrderSortKeyword::Asc)
No description
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()}.