1 | <?php |
||
16 | class IgbinarySerializer implements SerializerInterface |
||
17 | { |
||
18 | /** |
||
19 | * @codeCoverageIgnore |
||
20 | */ |
||
21 | public function __construct() |
||
27 | |||
28 | /** |
||
29 | * @param Message $message |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | 1 | public function serialize(Message $message): string |
|
37 | |||
38 | /** |
||
39 | * @param string $data |
||
40 | * |
||
41 | * @return Message |
||
42 | * @throws NotValidInputException |
||
43 | */ |
||
44 | 2 | public function unserialize(string $data): Message |
|
54 | |||
55 | } |