Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class SymfonySerializerAdapter implements MessageSerializerInterface |
||
21 | { |
||
22 | /** @var SerializerInterface */ |
||
23 | private $serializer; |
||
24 | |||
25 | public function __construct(SerializerInterface $serializer) |
||
26 | { |
||
27 | $this->serializer = $serializer; |
||
28 | } |
||
29 | |||
30 | public function serialize($request): string |
||
33 | } |
||
34 | |||
35 | public function deserialize(string $response, array $context) |
||
40 |