Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class TicketPurchasePaid implements EventInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | * @JMS\Type("string") |
||
13 | */ |
||
14 | private $purchaseId; |
||
15 | /** |
||
16 | * @var string |
||
17 | * @JMS\Type("string") |
||
18 | */ |
||
19 | private $purchaserEmail; |
||
20 | |||
21 | public function __construct( |
||
22 | string $purchaseId, |
||
23 | string $purchaserEmail |
||
24 | ) { |
||
25 | $this->purchaserEmail = $purchaserEmail; |
||
26 | $this->purchaseId = $purchaseId; |
||
27 | } |
||
28 | |||
29 | public function getPurchaserEmail(): string |
||
30 | { |
||
31 | return $this->purchaserEmail; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getPurchaseId(): string |
||
40 | } |
||
41 | } |
||
42 |