1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\PhpDocParser\Ast\ConstExpr; |
4: | |
5: | use PHPStan\PhpDocParser\Ast\NodeAttributes; |
6: | |
7: | class ConstExprIntegerNode implements ConstExprNode |
8: | { |
9: | |
10: | use NodeAttributes; |
11: | |
12: | public string $value; |
13: | |
14: | public function __construct(string $value) |
15: | { |
16: | $this->value = $value; |
17: | } |
18: | |
19: | public function __toString(): string |
20: | { |
21: | return $this->value; |
22: | } |
23: | |
24: | } |
25: |