final class ParameterDefinition extends SerializableComponent (View source)

The definition of a parameter of a function or procedure.

Properties

string|null $name

The name of the new column.

string|null $inOut

Parameter's direction (IN, OUT or INOUT).

DataType|null $type

The data type of thew new column.

Methods

string
__toString()

No description

array
jsonSerialize()

No description

__construct(string|null $name = null, string|null $inOut = null, DataType|null $type = 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 $name = null, string|null $inOut = null, DataType|null $type = null)

No description

Parameters

string|null $name

parameter's name

string|null $inOut

parameter's directional type (IN / OUT or None)

DataType|null $type

parameter's type

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