1 | <?php |
||
9 | class GroupHeader |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $messageId; |
||
15 | /** |
||
16 | * @var \DateTimeImmutable |
||
17 | */ |
||
18 | private $createdOn; |
||
19 | |||
20 | /** |
||
21 | * @param $messageId |
||
22 | * @param \DateTimeImmutable $createdOn |
||
23 | */ |
||
24 | 15 | public function __construct($messageId, \DateTimeImmutable $createdOn) |
|
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | 2 | public function getMessageId() |
|
37 | |||
38 | /** |
||
39 | * @return \DateTimeImmutable |
||
40 | */ |
||
41 | 2 | public function getCreatedOn() |
|
45 | } |
||
46 |