Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | class PageDataPropertyMetadata |
||
24 | { |
||
25 | /** |
||
26 | * @Groups({"AbstractPageData:cwa_resource:read"}) |
||
27 | */ |
||
28 | private string $property; |
||
29 | |||
30 | /** |
||
31 | * @Groups({"AbstractPageData:cwa_resource:read"}) |
||
32 | */ |
||
33 | private string $componentClass; |
||
34 | |||
35 | public function __construct(string $property, string $componentClass) |
||
36 | { |
||
37 | $this->property = $property; |
||
38 | $this->componentClass = $componentClass; |
||
39 | } |
||
40 | |||
41 | public function getProperty(): string |
||
42 | { |
||
43 | return $this->property; |
||
44 | } |
||
45 | |||
46 | public function getComponentClass(): string |
||
49 | } |
||
50 | } |
||
51 |