PHP 클래스 Youshido\GraphQL\Parser\Ast\Field

상속: extends AbstractAst, implements Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface
파일 보기 프로젝트 열기: youshido/graphql 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$arguments Argument[]

공개 메소드들

메소드 설명
__construct ( string $name, string $alias, array $arguments, Location $location )
addArgument ( Argument $argument )
getAlias ( ) : null | string
getArguments ( ) : Argument[]
getKeyValueArguments ( )
getName ( ) : string
hasArguments ( )
setAlias ( null | string $alias )
setName ( string $name )

메소드 상세

__construct() 공개 메소드

public __construct ( string $name, string $alias, array $arguments, Location $location )
$name string
$alias string
$arguments array
$location Youshido\GraphQL\Parser\Location

addArgument() 공개 메소드

public addArgument ( Argument $argument )
$argument Argument

getAlias() 공개 메소드

public getAlias ( ) : null | string
리턴 null | string

getArguments() 공개 메소드

public getArguments ( ) : Argument[]
리턴 Argument[]

getKeyValueArguments() 공개 메소드

getName() 공개 메소드

public getName ( ) : string
리턴 string

hasArguments() 공개 메소드

public hasArguments ( )

setAlias() 공개 메소드

public setAlias ( null | string $alias )
$alias null | string

setName() 공개 메소드

public setName ( string $name )
$name string

프로퍼티 상세

$arguments 보호되어 있는 프로퍼티

protected Argument[],Youshido\GraphQL\Parser\Ast $arguments
리턴 Argument[]