| 1 | <?php |
||
| 5 | abstract class CallbackEvent |
||
| 6 | { |
||
| 7 | private $senderId; |
||
| 8 | private $recipientId; |
||
| 9 | |||
| 10 | 62 | public function __construct($senderId, $recipientId) |
|
| 15 | |||
| 16 | /** |
||
| 17 | * Sender Id. Generally the User Id |
||
| 18 | * |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | 8 | public function getSenderId() |
|
| 25 | |||
| 26 | /** |
||
| 27 | * Recipient Id. Generally the Page Id |
||
| 28 | * |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 8 | public function getRecipientId() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | abstract public function getType(); |
||
| 40 | } |
||
| 41 |