Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class ClassDiscriminatorMapping |
||
17 | { |
||
18 | /** |
||
19 | * ClassDiscriminatorMapping constructor. |
||
20 | * |
||
21 | * @param array<string> $mapValue |
||
22 | */ |
||
23 | public function __construct( |
||
24 | private array $mapValue, |
||
25 | private Property $property, |
||
26 | ) { |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return string[] |
||
31 | */ |
||
32 | public function getMapValue(): array |
||
33 | { |
||
34 | return $this->mapValue; |
||
35 | } |
||
36 | |||
37 | public function getProperty(): Property |
||
40 | } |
||
41 | } |
||
42 |