Skip to content

Latest commit

 

History

History
251 lines (97 loc) · 2.85 KB

InlineFragmentNode.md

File metadata and controls

251 lines (97 loc) · 2.85 KB

InlineFragmentNode

type Node = NameNode | DocumentNode | OperationDefinitionNode | VariableDefinitionNode | VariableNode | SelectionSetNode | FieldNode | ArgumentNode | FragmentSpreadNode | InlineFragmentNode | FragmentDefinitionNode | IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | EnumValueNode | ListValueNode | ObjectValueNode | ObjectFieldNode | DirectiveNode | ListTypeNode | NonNullTypeNode

Properties

kind

public string $kind

typeCondition

public \GraphQL\Language\AST\NamedTypeNode $typeCondition

directives

public \GraphQL\Language\AST\NodeList<\GraphQL\Language\AST\DirectiveNode> $directives

selectionSet

public \GraphQL\Language\AST\SelectionSetNode $selectionSet

Inherited methods

__construct

public __construct((\GraphQL\Language\AST\NameNode|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\SelectionSetNode|\GraphQL\Language\AST\Location|string|int|bool|float|null)[] $vars): mixed

Parameters:

Parameter Type Description
$vars (\GraphQL\Language\AST\NameNode|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\SelectionSetNode|\GraphQL\Language\AST\Location|string|int|bool|float|null)[]

cloneDeep

public cloneDeep(): self

cloneValue

private cloneValue(string|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\Location|\GraphQL\Language\AST\Node|(\GraphQL\Language\AST\Node|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\Location)[] $value): string|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\Location|\GraphQL\Language\AST\Node

Parameters:

Parameter Type Description
$value string|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\Location|\GraphQL\Language\AST\Node|(\GraphQL\Language\AST\Node|\GraphQL\Language\AST\NodeList|\GraphQL\Language\AST\Location)[]

__toString

public __toString(): string

toArray

public toArray(bool $recursive = false): array

Parameters:

Parameter Type Description
$recursive bool

recursiveToArray

private recursiveToArray(\GraphQL\Language\AST\Node $node): array

Parameters:

Parameter Type Description
$node \GraphQL\Language\AST\Node