| Total Complexity | 4 |
| Total Lines | 31 |
| 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 | 14 | public function getType(): string |
|
| 28 | { |
||
| 29 | 14 | return $this->type; |
|
| 30 | } |
||
| 31 | |||
| 32 | 15 | public function getAttributes(): array |
|
| 44 | } |
||
| 45 | } |
||
| 46 |