Total Complexity | 6 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | final class ModifyRegistrationPriceEvent |
||
22 | { |
||
23 | public function __construct( |
||
24 | private float $price, |
||
25 | private readonly Event $event, |
||
26 | private readonly Registration $registration, |
||
27 | private readonly ServerRequestInterface $request |
||
28 | ) { |
||
29 | } |
||
30 | |||
31 | public function getPrice(): float |
||
32 | { |
||
33 | return $this->price; |
||
34 | } |
||
35 | |||
36 | public function setPrice(float $price): void |
||
39 | } |
||
40 | |||
41 | public function getEvent(): Event |
||
42 | { |
||
43 | return $this->event; |
||
44 | } |
||
45 | |||
46 | public function getRegistration(): Registration |
||
47 | { |
||
48 | return $this->registration; |
||
49 | } |
||
50 | |||
51 | public function getRequest(): ServerRequestInterface |
||
54 | } |
||
55 | } |
||
56 |