| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 13 | class Property extends Annotation |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $name; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $type = 'text'; |
||
| 24 | |||
| 25 | public $class; |
||
| 26 | |||
| 27 | public $readonly = false; |
||
| 28 | |||
| 29 | 22 | public function getType(): string |
|
| 30 | { |
||
| 31 | 22 | return $this->type; |
|
| 32 | } |
||
| 33 | |||
| 34 | 23 | public function getAttributes(): array |
|
| 46 | } |
||
| 47 | } |
||
| 48 |