| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | */ |
||
| 21 | final readonly class AfterRegistrationCancelledEvent |
||
|
|
|||
| 22 | { |
||
| 23 | public function __construct( |
||
| 24 | private Registration $registration, |
||
| 25 | private EventController $eventController, |
||
| 26 | private ServerRequestInterface $request |
||
| 27 | ) { |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getRegistration(): Registration |
||
| 31 | { |
||
| 32 | return $this->registration; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getEventController(): EventController |
||
| 36 | { |
||
| 45 |