Property | Type | Description | |
---|---|---|---|
$fieldASTs | |||
$fieldName | string | ||
$fieldNodes | |||
$fragments | |||
$operation | |||
$parentType | |||
$path | array | ||
$returnType | OutputType | ||
$rootValue | mixed | ||
$schema | |||
$variableValues |
Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
foldSelectionSet ( |
public getFieldSelection ( integer $depth ) : array | ||
$depth | integer | How many levels to include in output |
return | array |
public FieldNode[],GraphQL\Language\AST $fieldASTs | ||
return |
public FieldNode[],GraphQL\Language\AST $fieldNodes | ||
return |
public FragmentDefinitionNode[],GraphQL\Language\AST $fragments | ||
return |
public OperationDefinitionNode,GraphQL\Language\AST $operation | ||
return |
public Type,GraphQL\Type\Definition|CompositeType $parentType | ||
return |