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