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