class Routine (View source)

Routine utilities.

Methods

static string[]
getReturnType(string $param)

Parses a parameter of a routine.

static string[]
getParameter(string $param)

Parses a parameter of a routine.

static array<string,int|array<int,array|string|null>>
getParameters(CreateStatement $statement)

Gets the parameters of a routine from the parse tree.

Details

static string[] getReturnType(string $param)

Parses a parameter of a routine.

Parameters

string $param

parameter's definition

Return Value

string[]

static string[] getParameter(string $param)

Parses a parameter of a routine.

Parameters

string $param

parameter's definition

Return Value

string[]

static array<string,int|array<int,array|string|null>> getParameters(CreateStatement $statement)

Gets the parameters of a routine from the parse tree.

Parameters

CreateStatement $statement

the statement to be processed

Return Value

array<string,int|array<int,array|string|null>>