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

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

string
__toString()

No description

Details

__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

string __toString()

No description

Return Value

string