| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class BookedTicket |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $id; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var TicketType |
||
| 19 | */ |
||
| 20 | private $ticketType; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var Delegate |
||
| 24 | */ |
||
| 25 | private $delegate; |
||
| 26 | |||
| 27 | public function getId() |
||
| 28 | { |
||
| 29 | return $this->id; |
||
| 30 | } |
||
| 31 | |||
| 32 | public static function reserve(TicketReserved $event) |
||
| 38 | } |
||
| 39 | |||
| 40 | public function assignToDelegate(TicketAssigned $event) |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getTicketType(): TicketType |
||
| 48 | } |
||
| 49 | } |