| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class RefundCreated extends Event |
||
| 21 | { |
||
| 22 | public const NAME = 'parthenon.billing.refund.created'; |
||
| 23 | |||
| 24 | public function __construct(private Refund $refund) |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getRefund(): Refund |
||
| 29 | { |
||
| 30 | return $this->refund; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function setRefund(Refund $refund): void |
||
| 36 | } |
||
| 37 | } |
||
| 38 |