PHP Class SqlParser\Utils\Routine

Datei anzeigen Open project: phpmyadmin/sql-parser Class Usage Examples

Public Methods

Method Description
getParameter ( string $param ) : array Parses a parameter of a routine.
getParameters ( CreateStatement $statement ) : array Gets the parameters of a routine from the parse tree.
getReturnType ( string $param ) : array Parses a parameter of a routine.

Method Details

getParameter() public static method

Parses a parameter of a routine.
public static getParameter ( string $param ) : array
$param string Parameter's definition.
return array

getParameters() public static method

Gets the parameters of a routine from the parse tree.
public static getParameters ( CreateStatement $statement ) : array
$statement SqlParser\Statements\CreateStatement The statement to be processed.
return array

getReturnType() public static method

Parses a parameter of a routine.
public static getReturnType ( string $param ) : array
$param string Parameter's definition.
return array