PHP 클래스 Youshido\GraphQL\Execution\Request

파일 보기 프로젝트 열기: youshido/graphql 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $data = [], $variables = [] )
addFragment ( Fragment $fragment )
addFragmentReferences ( $fragmentReferences )
addFragments ( $fragments )
addMutations ( $mutations )
addQueries ( $queries )
addQueryVariables ( $queryVariables )
addVariableReferences ( $variableReferences )
getAllOperations ( ) : Query[]
getFragment ( $name ) : null | Fragment
getFragmentReferences ( ) : array | FragmentReference[]
getFragments ( ) : Fragment[]
getMutations ( ) : Youshido\GraphQL\Parser\Ast\Mutation[]
getQueries ( ) : Query[]
getQueryVariables ( ) : array | Variable[]
getVariable ( $name )
getVariableReferences ( ) : array | VariableReference[]
getVariables ( ) : array
hasFragments ( ) : boolean
hasMutations ( ) : boolean
hasQueries ( ) : boolean
hasVariable ( $name )
setFragmentReferences ( array $fragmentReferences )
setQueryVariables ( array $queryVariables )
setVariables ( array $variables )

메소드 상세

__construct() 공개 메소드

public __construct ( $data = [], $variables = [] )

addFragment() 공개 메소드

public addFragment ( Fragment $fragment )
$fragment Youshido\GraphQL\Parser\Ast\Fragment

addFragmentReferences() 공개 메소드

public addFragmentReferences ( $fragmentReferences )

addFragments() 공개 메소드

public addFragments ( $fragments )

addMutations() 공개 메소드

public addMutations ( $mutations )

addQueries() 공개 메소드

public addQueries ( $queries )

addQueryVariables() 공개 메소드

public addQueryVariables ( $queryVariables )

addVariableReferences() 공개 메소드

public addVariableReferences ( $variableReferences )

getAllOperations() 공개 메소드

public getAllOperations ( ) : Query[]
리턴 Youshido\GraphQL\Parser\Ast\Query[]

getFragment() 공개 메소드

public getFragment ( $name ) : null | Fragment
$name
리턴 null | Youshido\GraphQL\Parser\Ast\Fragment

getFragmentReferences() 공개 메소드

public getFragmentReferences ( ) : array | FragmentReference[]
리턴 array | Youshido\GraphQL\Parser\Ast\FragmentReference[]

getFragments() 공개 메소드

public getFragments ( ) : Fragment[]
리턴 Youshido\GraphQL\Parser\Ast\Fragment[]

getMutations() 공개 메소드

public getMutations ( ) : Youshido\GraphQL\Parser\Ast\Mutation[]
리턴 Youshido\GraphQL\Parser\Ast\Mutation[]

getQueries() 공개 메소드

public getQueries ( ) : Query[]
리턴 Youshido\GraphQL\Parser\Ast\Query[]

getQueryVariables() 공개 메소드

public getQueryVariables ( ) : array | Variable[]
리턴 array | Youshido\GraphQL\Parser\Ast\ArgumentValue\Variable[]

getVariable() 공개 메소드

public getVariable ( $name )

getVariableReferences() 공개 메소드

public getVariableReferences ( ) : array | VariableReference[]
리턴 array | Youshido\GraphQL\Parser\Ast\ArgumentValue\VariableReference[]

getVariables() 공개 메소드

public getVariables ( ) : array
리턴 array

hasFragments() 공개 메소드

public hasFragments ( ) : boolean
리턴 boolean

hasMutations() 공개 메소드

public hasMutations ( ) : boolean
리턴 boolean

hasQueries() 공개 메소드

public hasQueries ( ) : boolean
리턴 boolean

hasVariable() 공개 메소드

public hasVariable ( $name )

setFragmentReferences() 공개 메소드

public setFragmentReferences ( array $fragmentReferences )
$fragmentReferences array

setQueryVariables() 공개 메소드

public setQueryVariables ( array $queryVariables )
$queryVariables array

setVariables() 공개 메소드

public setVariables ( array $variables )
$variables array