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