D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
local
/
psa
/
admin
/
plib
/
vendor
/
webonyx
/
graphql-php
/
src
/
Language
/
AST
/
Filename :
FieldNode.php
back
Copy
<?php declare(strict_types=1); namespace GraphQL\Language\AST; class FieldNode extends Node implements SelectionNode { public string $kind = NodeKind::FIELD; public NameNode $name; public ?NameNode $alias = null; /** @var NodeList<ArgumentNode> */ public NodeList $arguments; /** @var NodeList<DirectiveNode> */ public NodeList $directives; public ?SelectionSetNode $selectionSet = null; public function __construct(array $vars) { parent::__construct($vars); $this->directives ??= new NodeList([]); $this->arguments ??= new NodeList([]); } }