Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
PropertyMap | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | /** |
4 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
5 | */ |
6 | |
7 | declare(strict_types=1); |
8 | |
9 | namespace pvc\struct\dto; |
10 | |
11 | /** |
12 | * Class PropertyMap |
13 | */ |
14 | readonly class PropertyMap |
15 | { |
16 | public function __construct( |
17 | public string $dtoPropertyName, |
18 | public string $entityGetterMethodName, |
19 | /** |
20 | * @var array-key&string |
21 | */ |
22 | public string $arrayKeyName, |
23 | ) { |
24 | } |
25 | } |