D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
psa
/
admin
/
plib
/
vendor
/
webonyx
/
graphql-php
/
src
/
Language
/
AST
/
Filename :
DirectiveDefinitionNode.php
back
Copy
<?php declare(strict_types=1); namespace GraphQL\Language\AST; class DirectiveDefinitionNode extends Node implements TypeSystemDefinitionNode { public string $kind = NodeKind::DIRECTIVE_DEFINITION; public NameNode $name; public ?StringValueNode $description = null; /** @var NodeList<InputValueDefinitionNode> */ public NodeList $arguments; public bool $repeatable; /** @var NodeList<NameNode> */ public NodeList $locations; public function __construct(array $vars) { parent::__construct($vars); $this->arguments ??= new NodeList([]); } }