1 | <?php |
||
5 | class RawEvent extends CallbackEvent |
||
6 | { |
||
7 | const NAME = 'raw_event'; |
||
8 | |||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | private $raw; |
||
13 | |||
14 | 10 | public function __construct($senderId, $recipientId, array $raw) |
|
19 | |||
20 | /** |
||
21 | * @return array |
||
22 | */ |
||
23 | 1 | public function getRaw() |
|
27 | |||
28 | /** |
||
29 | * @param string $index |
||
30 | * @param null|mixed $default |
||
31 | * |
||
32 | * @return mixed |
||
33 | */ |
||
34 | 3 | public function get($index, $default = null) |
|
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | 1 | public function getName() |
|
57 | } |
||
58 |