| Total Complexity | 6 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | final class ModifyCreateDependingRegistrationsEvent |
||
| 23 | { |
||
| 24 | public function __construct( |
||
| 25 | private readonly Registration $registration, |
||
| 26 | private bool $createDependingRegistrations, |
||
| 27 | private readonly EventController $eventController, |
||
| 28 | private readonly ServerRequestInterface $request |
||
| 29 | ) { |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getRegistration(): Registration |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getEventController(): EventController |
||
| 38 | { |
||
| 39 | return $this->eventController; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getCreateDependingRegistrations(): bool |
||
| 43 | { |
||
| 44 | return $this->createDependingRegistrations; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function setCreateDependingRegistrations(bool $createDependingRegistrations): void |
||
| 48 | { |
||
| 49 | $this->createDependingRegistrations = $createDependingRegistrations; |
||
| 50 | } |
||
| 51 | |||
| 52 | public function getRequest(): ServerRequestInterface |
||
| 55 | } |
||
| 56 | } |
||
| 57 |