| Total Complexity | 6 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class ModifyCheckRegistrationSuccessEvent |
||
| 22 | { |
||
| 23 | public function __construct(private bool $success, private int $result, private readonly Registration $registration) |
||
| 24 | { |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getSuccess(): bool |
||
| 30 | } |
||
| 31 | |||
| 32 | public function setSuccess(bool $success): void |
||
| 33 | { |
||
| 34 | $this->success = $success; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getResult(): int |
||
| 38 | { |
||
| 39 | return $this->result; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function setResult(int $result): void |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getRegistration(): Registration |
||
| 50 | } |
||
| 51 | } |
||
| 52 |