| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class PageDataPropertyMetadata |
||
| 24 | { |
||
| 25 | #[Groups(['AbstractPageData:cwa_resource:read'])] |
||
| 26 | private string $property; |
||
| 27 | |||
| 28 | private string $componentClass; |
||
| 29 | |||
| 30 | #[Groups(['AbstractPageData:cwa_resource:read'])] |
||
| 31 | private string $componentShortName; |
||
| 32 | |||
| 33 | public function __construct(string $property, string $componentClass, string $componentShortName) |
||
| 34 | { |
||
| 35 | $this->property = $property; |
||
| 36 | $this->componentClass = $componentClass; |
||
| 37 | $this->componentShortName = $componentShortName; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getProperty(): string |
||
| 41 | { |
||
| 42 | return $this->property; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getComponentClass(): string |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getComponentShortName(): string |
||
| 55 |