Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
GroupResultStats | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | /** @noinspection PhpUnhandledExceptionInspection */ |
3 | declare(strict_types=1); |
4 | readonly class GroupResultStats { |
5 | public string $host; |
6 | public string $groupName; |
7 | public string $groupLabel; |
8 | public int $bookletsStarted; |
9 | public int $numUnitsMin; |
10 | public int $numUnitsMax; |
11 | public int $numUnitsTotal; |
12 | public float $numUnitsAvg; |
13 | public int $lastChange; |
14 | |
15 | |
16 | public function __construct( |
17 | string $host, |
18 | string $groupName, |
19 | string $groupLabel, |
20 | int $bookletsStarted, |
21 | int $numUnitsMin, |
22 | int $numUnitsMax, |
23 | int $numUnitsTotal, |
24 | float $numUnitsAvg, |
25 | int $lastChange, |
26 | ) { |
27 | $this->host = $host; |
28 | $this->groupName = $groupName; |
29 | $this->groupLabel = $groupLabel; |
30 | $this->bookletsStarted = $bookletsStarted; |
31 | $this->numUnitsMin = $numUnitsMin; |
32 | $this->numUnitsMax = $numUnitsMax; |
33 | $this->numUnitsTotal = $numUnitsTotal; |
34 | $this->numUnitsAvg = $numUnitsAvg; |
35 | $this->lastChange = $lastChange; |
36 | } |
37 | } |