프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$fieldASTs | |||
$fieldName | string | ||
$fieldNodes | |||
$fragments | |||
$operation | |||
$parentType | |||
$path | array | ||
$returnType | OutputType | ||
$rootValue | mixed | ||
$schema | |||
$variableValues |
메소드 | 설명 | |
---|---|---|
__construct ( array $values ) | ||
__get ( $name ) | ||
getFieldSelection ( integer $depth ) : array | Helper method that returns names of all fields selected in query for $this->fieldName up to $depth levels |
메소드 | 설명 | |
---|---|---|
foldSelectionSet ( |
public getFieldSelection ( integer $depth ) : array | ||
$depth | integer | How many levels to include in output |
리턴 | array |
public FieldNode[],GraphQL\Language\AST $fieldASTs | ||
리턴 |
public FieldNode[],GraphQL\Language\AST $fieldNodes | ||
리턴 |
public FragmentDefinitionNode[],GraphQL\Language\AST $fragments | ||
리턴 |
public OperationDefinitionNode,GraphQL\Language\AST $operation | ||
리턴 |
public Type,GraphQL\Type\Definition|CompositeType $parentType | ||
리턴 |