| 1 | <?php |
||
| 7 | abstract class CallbackEvent extends Event |
||
| 8 | { |
||
| 9 | private $senderId; |
||
| 10 | private $recipientId; |
||
| 11 | |||
| 12 | 75 | public function __construct($senderId, $recipientId) |
|
| 17 | |||
| 18 | /** |
||
| 19 | * Sender Id. Generally the User Id |
||
| 20 | * |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 9 | public function getSenderId() |
|
| 27 | |||
| 28 | /** |
||
| 29 | * Recipient Id. Generally the Page Id |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | 9 | public function getRecipientId() |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function getName() |
||
| 45 | } |
||
| 46 |