1 | <?php |
||
4 | abstract class AbstractCallbackEvent |
||
5 | { |
||
6 | |||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | protected $senderId; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $recipientId; |
||
16 | |||
17 | /** |
||
18 | * AbstractCallbackEvent constructor. |
||
19 | * |
||
20 | * @param string $senderId |
||
21 | * @param string $recipientId |
||
22 | */ |
||
23 | public function __construct(string $senderId, string $recipientId) |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getSenderId(): string |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getRecipientId(): string |
||
44 | } |