| 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 | * @return string |
||
| 30 | */ |
||
| 31 | 1 | public function getType() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 1 | public function getApiKey() |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $apiKey |
||
| 46 | * |
||
| 47 | * @return $this |
||
| 48 | */ |
||
| 49 | 1 | public function setApiKey($apiKey) |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | 1 | public function getUserId() |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @param string $userId |
||
| 66 | * |
||
| 67 | * @return $this |
||
| 68 | */ |
||
| 69 | 1 | public function setUserId($userId) |
|
| 75 | } |
||
| 76 |