Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
5 / 5 |
|
100.00% |
5 / 5 |
CRAP | |
100.00% |
1 / 1 |
EventRecording | |
100.00% |
5 / 5 |
|
100.00% |
5 / 5 |
5 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getLicense | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
isOptOut | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getUrl | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getLink | |
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 EventRecording extends ScheduleData |
8 | { |
9 | public function __construct( |
10 | protected string $license, |
11 | protected bool $optOut, |
12 | protected ?string $url = null, |
13 | protected ?string $link = null |
14 | ) { |
15 | } |
16 | |
17 | public function getLicense(): string |
18 | { |
19 | return $this->license; |
20 | } |
21 | |
22 | public function isOptOut(): bool |
23 | { |
24 | return $this->optOut; |
25 | } |
26 | |
27 | public function getUrl(): ?string |
28 | { |
29 | return $this->url; |
30 | } |
31 | |
32 | public function getLink(): ?string |
33 | { |
34 | return $this->link; |
35 | } |
36 | } |