Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
HydrationContext
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Celemas\Quma\Hydration;
6
7/** @internal */
8final 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}

Branches

Below are the source code lines that represent each code branch as identified by Xdebug. Please note a branch is not necessarily coterminous with a line, a line may contain multiple branches and therefore show up more than once. Please also be aware that some branches may be implicit rather than explicit, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.

HydrationContext->__construct
17        public string $class,
18        public string $parameter,
19        public string $column,
20        public ?string $sourcePath,
21        public array $rowKeys,
22    ) {}