| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class TicketPurchasePaid implements EventInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @Jms\Type("string") |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $id; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @Jms\Type("string") |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $purchaserEmail; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * TicketPurchasePaid constructor. |
||
| 30 | * @param string $id |
||
| 31 | * @param string $purchaserEmail |
||
| 32 | */ |
||
| 33 | public function __construct(string $id, string $purchaserEmail) |
||
| 34 | { |
||
| 35 | $this->id = $id; |
||
| 36 | $this->purchaserEmail = $purchaserEmail; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getId() |
||
| 43 | { |
||
| 44 | return $this->id; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getPurchaserEmail(): string |
||
| 53 | } |
||
| 54 | } |