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