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