Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
3 / 3 |
|
100.00% |
3 / 3 |
CRAP | |
100.00% |
1 / 1 |
ScheduleGenerator | |
100.00% |
3 / 3 |
|
100.00% |
3 / 3 |
3 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getName | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getVersion | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Engelsystem\Helpers\Schedule; |
6 | |
7 | class ScheduleGenerator extends ScheduleData |
8 | { |
9 | public function __construct( |
10 | protected ?string $name = null, |
11 | protected ?string $version = null, |
12 | ) { |
13 | } |
14 | |
15 | public function getName(): ?string |
16 | { |
17 | return $this->name; |
18 | } |
19 | |
20 | public function getVersion(): ?string |
21 | { |
22 | return $this->version; |
23 | } |
24 | } |