InlineFragmentNode
extends Node
in package
implements
SelectionNode
type Node = NameNode | DocumentNode | OperationDefinitionNode | VariableDefinitionNode | VariableNode | SelectionSetNode | FieldNode | ArgumentNode | FragmentSpreadNode | InlineFragmentNode | FragmentDefinitionNode | IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | EnumValueNode | ListValueNode | ObjectValueNode | ObjectFieldNode | DirectiveNode | ListTypeNode | NonNullTypeNode
Interfaces, Classes, Traits and Enums
- SelectionNode
- export type SelectionNode = FieldNode | FragmentSpreadNode | InlineFragmentNode
Table of Contents
- $directives : NodeList<string|int, DirectiveNode>
- $kind : string
- $loc : Location|null
- $selectionSet : SelectionSetNode
- $typeCondition : NamedTypeNode
- __construct() : mixed
- __toString() : string
- cloneDeep() : self
- toArray() : array<string|int, mixed>
- cloneValue() : string|NodeList|Location|Node
- recursiveToArray() : array<string|int, mixed>
Properties
$directives
public
NodeList<string|int, DirectiveNode>
$directives
$kind
public
string
$kind
= \GraphQL\Language\AST\NodeKind::INLINE_FRAGMENT
$loc
public
Location|null
$loc
$selectionSet
public
SelectionSetNode
$selectionSet
$typeCondition
public
NamedTypeNode
$typeCondition
Methods
__construct()
public
__construct(array<string|int, \GraphQL\Language\AST\NameNode|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\SelectionSetNode|\GraphQL\Language\AST\Location|string|int|bool|float|null> $vars) : mixed
Parameters
- $vars : array<string|int, \GraphQL\Language\AST\NameNode|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\SelectionSetNode|\GraphQL\Language\AST\Location|string|int|bool|float|null>
Return values
mixed —__toString()
public
__toString() : string
Return values
string —cloneDeep()
public
cloneDeep() : self
Return values
self —toArray()
public
toArray([bool $recursive = false ]) : array<string|int, mixed>
Parameters
- $recursive : bool = false
Return values
array<string|int, mixed> —cloneValue()
private
cloneValue(string|NodeList|Location|Node|array<string|int, \GraphQL\Language\AST\Node|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\Location> $value) : string|NodeList|Location|Node
Parameters
- $value : string|NodeList|Location|Node|array<string|int, \GraphQL\Language\AST\Node|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\Location>
Return values
string|NodeList|Location|Node —recursiveToArray()
private
recursiveToArray(Node $node) : array<string|int, mixed>
Parameters
- $node : Node