1 | <?php |
||
7 | class AuthenticationEvent extends CallbackEvent |
||
8 | { |
||
9 | const NAME = 'authentication_event'; |
||
10 | |||
11 | /** |
||
12 | * @var int |
||
13 | */ |
||
14 | private $timestamp; |
||
15 | /** |
||
16 | * @var Optin |
||
17 | */ |
||
18 | private $optin; |
||
19 | |||
20 | /** |
||
21 | * @param string $senderId |
||
22 | * @param string $recipientId |
||
23 | * @param int $timestamp |
||
24 | * @param Optin $optin |
||
25 | */ |
||
26 | 7 | public function __construct($senderId, $recipientId, $timestamp, Optin $optin) |
|
33 | |||
34 | /** |
||
35 | * @return int |
||
36 | */ |
||
37 | 1 | public function getTimestamp() |
|
41 | |||
42 | /** |
||
43 | * @return Optin |
||
44 | */ |
||
45 | 1 | public function getOptin() |
|
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | 1 | public function getName() |
|
57 | } |
||
58 |