| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | class VirtualProperty extends AbstractAnnotation |
||
| 38 | { |
||
| 39 | /** |
||
| 40 | * Initialize annotation data |
||
| 41 | */ |
||
| 42 | 2 | protected function init(): void |
|
| 43 | { |
||
| 44 | 2 | $this->value = $this->data['value'] ?? null; |
|
| 45 | 2 | } |
|
| 46 | |||
| 47 | /** |
||
| 48 | * Return the serialized name if it exists or null |
||
| 49 | * |
||
| 50 | * @return null|string |
||
| 51 | */ |
||
| 52 | 1 | public function getSerializedName(): ?string |
|
| 55 | } |
||
| 56 | } |
||
| 57 |