Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function build(array $ast): NodeInterface |
||
16 | { |
||
17 | return new FieldNode([ |
||
18 | 'alias' => $this->buildOne($ast, 'alias'), |
||
19 | 'name' => $this->buildOne($ast, 'name'), |
||
20 | 'arguments' => $this->buildMany($ast, 'arguments'), |
||
21 | 'directives' => $this->buildMany($ast, 'directives'), |
||
22 | 'selectionSet' => $this->buildOne($ast, 'selectionSet'), |
||
23 | 'location' => $this->createLocation($ast), |
||
24 | ]); |
||
36 |