1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace ApiGen\Info; |
4: | |
5: | use PHPStan\PhpDocParser\Ast\Type\TypeNode; |
6: | |
7: | |
8: | class PropertyInfo extends MemberInfo |
9: | { |
10: | /** @var ExprInfo|null */ |
11: | public ?ExprInfo $default = null; |
12: | |
13: | /** @var TypeNode|null */ |
14: | public ?TypeNode $type = null; |
15: | |
16: | /** @var bool */ |
17: | public bool $static = false; |
18: | |
19: | /** @var bool */ |
20: | public bool $readOnly = false; |
21: | |
22: | /** @var bool */ |
23: | public bool $writeOnly = false; |
24: | } |
25: |