Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class EnumTypeExtensionNode extends AbstractNode implements TypeExtensionNodeInterface, DirectivesAwareInterface, |
||
8 | NameAwareInterface |
||
9 | { |
||
10 | use NameTrait; |
||
11 | use DirectivesTrait; |
||
12 | use EnumValuesTrait; |
||
13 | |||
14 | /** |
||
15 | * EnumTypeExtensionNode constructor. |
||
16 | * |
||
17 | * @param NameNode $name |
||
18 | * @param DirectiveNode[] $directives |
||
19 | * @param EnumValueDefinitionNode[] $values |
||
20 | * @param Location|null $location |
||
21 | */ |
||
22 | public function __construct(NameNode $name, array $directives, array $values, ?Location $location) |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public function toAST(): array |
||
45 |