1 | <?php |
||
5 | class RawEvent extends CallbackEvent |
||
6 | { |
||
7 | /** |
||
8 | * @var array |
||
9 | */ |
||
10 | private $raw; |
||
11 | |||
12 | 10 | public function __construct($senderId, $recipientId, array $raw) |
|
17 | |||
18 | /** |
||
19 | * @return array |
||
20 | */ |
||
21 | 1 | public function getRaw() |
|
25 | |||
26 | /** |
||
27 | * @param string $index |
||
28 | * @param null|mixed $default |
||
29 | * |
||
30 | * @return mixed |
||
31 | */ |
||
32 | 3 | public function get($index, $default = null) |
|
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | 1 | public function getType() |
|
55 | } |
||
56 |