| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function build(array $ast): NodeInterface |
||
| 16 | { |
||
| 17 | return new DirectiveDefinitionNode([ |
||
| 18 | 'description' => $this->buildOne($ast, 'description'), |
||
| 19 | 'name' => $this->buildOne($ast, 'name'), |
||
| 20 | 'arguments' => $this->buildMany($ast, 'arguments'), |
||
| 21 | 'locations' => $this->buildMany($ast, 'locations'), |
||
| 22 | 'location' => $this->createLocation($ast), |
||
| 23 | ]); |
||
| 34 |