Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | final class ProcessCancelDependingRegistrationsEvent |
||
21 | { |
||
22 | private Registration $registration; |
||
23 | private bool $processCancellation; |
||
24 | |||
25 | public function __construct(Registration $registration, bool $processCancellation) |
||
26 | { |
||
27 | $this->registration = $registration; |
||
28 | $this->processCancellation = $processCancellation; |
||
29 | } |
||
30 | |||
31 | public function getRegistration(): Registration |
||
32 | { |
||
33 | return $this->registration; |
||
34 | } |
||
35 | |||
36 | public function getProcessCancellation(): bool |
||
37 | { |
||
38 | return $this->processCancellation; |
||
39 | } |
||
40 | |||
41 | public function setProcessCancellation(bool $processCancellation): void |
||
44 | } |
||
45 | } |
||
46 |