Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class DalliOrderStatusEvent |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | private $statusId; |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $eventStore; |
||
15 | /** |
||
16 | * @var int |
||
17 | */ |
||
18 | private $timestamp; |
||
19 | |||
20 | public function __construct( |
||
21 | string $statusId, |
||
22 | string $eventStore, |
||
23 | int $timestamp, |
||
24 | ) |
||
25 | { |
||
26 | $this->statusId = $statusId; |
||
27 | $this->eventStore = $eventStore; |
||
28 | $this->timestamp = $timestamp; |
||
29 | } |
||
30 | |||
31 | |||
32 | public function getStatusId(): string |
||
33 | { |
||
34 | return $this->statusId; |
||
35 | } |
||
36 | |||
37 | public function getTimestamp(): int |
||
40 | } |
||
41 | |||
42 | public function getEventStore(): string |
||
45 | } |
||
46 | } |