| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class SelectionSetWriter extends AbstractWriter |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param NodeInterface|SelectionSetNode $node |
||
| 13 | * @inheritdoc |
||
| 14 | */ |
||
| 15 | public function write(NodeInterface $node): string |
||
| 16 | { |
||
| 17 | return block($this->printNodes($node->getSelections())); |
||
|
|
|||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritdoc |
||
| 22 | */ |
||
| 23 | public function supportsWriter(NodeInterface $node): bool |
||
| 26 | } |
||
| 27 | } |
||
| 28 |