Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| HydrationContext | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Celemas\Quma\Hydration; |
| 6 | |
| 7 | /** @internal */ |
| 8 | final readonly class HydrationContext |
| 9 | { |
| 10 | /** |
| 11 | * @param class-string $class |
| 12 | * @param non-empty-string $parameter |
| 13 | * @param non-empty-string $column |
| 14 | * @param list<string> $rowKeys |
| 15 | */ |
| 16 | public function __construct( |
| 17 | public string $class, |
| 18 | public string $parameter, |
| 19 | public string $column, |
| 20 | public ?string $sourcePath, |
| 21 | public array $rowKeys, |
| 22 | ) {} |
| 23 | } |