InterfaceTypeDefinitionNode
extends Node
in package
implements
TypeDefinitionNode
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 and Traits
- TypeDefinitionNode
- export type TypeDefinitionNode = ScalarTypeDefinitionNode | ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | UnionTypeDefinitionNode | EnumTypeDefinitionNode | InputObjectTypeDefinitionNode.
Table of Contents
- $description : StringValueNode|null
- $directives : NodeList
- $fields : NodeList
- $interfaces : NodeList
- $kind : string
- $loc : Location|null
- $name : NameNode
- __construct() : mixed
- __toString() : string
- cloneDeep() : static
- Returns a clone of this instance and all its children, except Location $loc.
- getName() : NameNode
- jsonSerialize() : array<string, mixed>
- Improves upon the default serialization by: - excluding null values - excluding large reference values such as @see Location::$source.
- toArray() : array<string, mixed>
- cloneValue() : mixed
- recursiveToArray() : array<string, mixed>
Properties
$description
public
StringValueNode|null
$description
= null
$directives
public
NodeList
$directives
$fields
public
NodeList
$fields
$interfaces
public
NodeList
$interfaces
$kind
public
string
$kind
= AutomatticWooCommerceVendorGraphQLLanguageASTNodeKind::INTERFACE_TYPE_DEFINITION
$loc
public
Location|null
$loc
= null
$name
public
NameNode
$name
Methods
__construct()
public
__construct(array<string, mixed> $vars) : mixed
Parameters
- $vars : array<string, mixed>
Return values
mixed —__toString()
public
__toString() : string
Tags
Return values
string —cloneDeep()
Returns a clone of this instance and all its children, except Location $loc.
public
cloneDeep() : static
Tags
Return values
static —getName()
public
getName() : NameNode
Return values
NameNode —jsonSerialize()
Improves upon the default serialization by: - excluding null values - excluding large reference values such as @see Location::$source.
public
jsonSerialize() : array<string, mixed>
Return values
array<string, mixed> —toArray()
public
toArray() : array<string, mixed>
Return values
array<string, mixed> —cloneValue()
protected
static cloneValue(mixed $value) : mixed
Parameters
- $value : mixed
Tags
Return values
mixed —recursiveToArray()
private
static recursiveToArray(Node $node) : array<string, mixed>
Parameters
- $node : Node
