| 1 | <?php |
||
| 11 | abstract class BaseEvent |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $type; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $apiKey; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $userId; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $sessionId; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | 1 | public function getType() |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | public function getApiKey() |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $apiKey |
||
| 51 | * |
||
| 52 | * @return $this |
||
| 53 | */ |
||
| 54 | 1 | public function setApiKey($apiKey) |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | 1 | public function getUserId() |
|
| 68 | |||
| 69 | /** |
||
| 70 | * @param string $userId |
||
| 71 | * |
||
| 72 | * @return $this |
||
| 73 | */ |
||
| 74 | 1 | public function setUserId($userId) |
|
| 80 | |||
| 81 | /** |
||
| 82 | * @return string |
||
| 83 | */ |
||
| 84 | 1 | public function getSessionId() |
|
| 88 | |||
| 89 | /** |
||
| 90 | * @param string $sessionId |
||
| 91 | * |
||
| 92 | * @return $this |
||
| 93 | */ |
||
| 94 | 1 | public function setSessionId($sessionId) |
|
| 100 | } |
||
| 101 |