1 | <?php declare(strict_types=1); |
||
8 | final class EventStatus implements SerializableInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var EventStatusType |
||
12 | */ |
||
13 | private $eventStatusType; |
||
14 | |||
15 | /** |
||
16 | * @var EventStatusReason[] |
||
17 | */ |
||
18 | private $eventStatusReasons; |
||
19 | |||
20 | public function __construct(EventStatusType $eventStatusType, array $eventStatusReasons) |
||
26 | |||
27 | public function getEventStatusType(): EventStatusType |
||
31 | |||
32 | public function getEventStatusReasons(): array |
||
36 | |||
37 | public static function deserialize(array $data): EventStatus |
||
52 | |||
53 | public function serialize(): array |
||
65 | } |
||
66 |