Total Complexity | 2 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class ObjectTypeDefinitionNode extends AbstractNode implements TypeDefinitionNodeInterface, DirectivesAwareInterface, |
||
8 | NameAwareInterface |
||
9 | { |
||
10 | use DescriptionTrait; |
||
11 | use NameTrait; |
||
12 | use InterfacesTrait; |
||
13 | use DirectivesTrait; |
||
14 | use FieldsTrait; |
||
15 | |||
16 | /** |
||
17 | * ObjectTypeDefinitionNode constructor. |
||
18 | * |
||
19 | * @param StringValueNode|null $description |
||
20 | * @param NameNode $name |
||
21 | * @param NamedTypeNode[] $interfaces |
||
22 | * @param DirectiveNode[] $directives |
||
23 | * @param FieldDefinitionNode[] $fields |
||
24 | * @param Location|null $location |
||
25 | */ |
||
26 | public function __construct( |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @inheritdoc |
||
45 | */ |
||
46 | public function toAST(): array |
||
59 |