PHP 클래스 SqlParser\Components\ParameterDefinition

저자: Dan Ungureanu ([email protected])
상속: extends SqlParser\Component
파일 보기 프로젝트 열기: phpmyadmin/sql-parser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$inOut string Parameter's direction (IN, OUT or INOUT).
$name string The name of the new column.
$type DataType The data type of thew new column.

공개 메소드들

메소드 설명
build ( ParameterDefinition[] $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : ParameterDefinition[]

메소드 상세

build() 공개 정적인 메소드

public static build ( ParameterDefinition[] $component, array $options = [] ) : string
$component ParameterDefinition[] The component to be built.
$options array Parameters for building.
리턴 string

parse() 공개 정적인 메소드

public static parse ( Parser $parser, TokensList $list, array $options = [] ) : ParameterDefinition[]
$parser SqlParser\Parser The parser that serves as context.
$list SqlParser\TokensList The list of tokens that are being parsed.
$options array Parameters for parsing.
리턴 ParameterDefinition[]

프로퍼티 상세

$inOut 공개적으로 프로퍼티

Parameter's direction (IN, OUT or INOUT).
public string $inOut
리턴 string

$name 공개적으로 프로퍼티

The name of the new column.
public string $name
리턴 string

$type 공개적으로 프로퍼티

The data type of thew new column.
public DataType,SqlParser\Components $type
리턴 DataType