| 1 | <?php |
||
| 7 | class AuthenticationEvent extends CallbackEvent |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | private $timestamp; |
||
| 13 | /** |
||
| 14 | * @var Optin |
||
| 15 | */ |
||
| 16 | private $optin; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $senderId |
||
| 20 | * @param string $recipientId |
||
| 21 | * @param int $timestamp |
||
| 22 | * @param Optin $optin |
||
| 23 | */ |
||
| 24 | 7 | public function __construct($senderId, $recipientId, $timestamp, Optin $optin) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return int |
||
| 34 | */ |
||
| 35 | 1 | public function getTimestamp() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return Optin |
||
| 42 | */ |
||
| 43 | 1 | public function getOptin() |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 1 | public function getType() |
|
| 55 | } |
||
| 56 |