1 | <?php |
||
7 | class MsgpackSerializer extends AbstractSerializer implements SerializerInterface |
||
8 | { |
||
9 | /** |
||
10 | * @param $data |
||
11 | * @param $format |
||
12 | * @return mixed|string |
||
13 | */ |
||
14 | 1 | public function serialize($data, $format) |
|
18 | |||
19 | /** |
||
20 | * @return array |
||
21 | */ |
||
22 | 2 | public function getSupportedFormats() |
|
26 | |||
27 | /** |
||
28 | * @return string |
||
29 | */ |
||
30 | 1 | public function getDefaultFormat() |
|
34 | } |
||
35 |