Total Complexity | 8 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class RpcServer extends Consumer |
||
13 | { |
||
14 | /** |
||
15 | * @var SerializerInterface |
||
16 | */ |
||
17 | protected $serializer; |
||
18 | |||
19 | /** |
||
20 | * @return mixed |
||
21 | */ |
||
22 | 2 | public function getSerializer() |
|
26 | |||
27 | /** |
||
28 | * @param null|string|array|SerializerInterface $serializer |
||
29 | * |
||
30 | * @return $this |
||
31 | * |
||
32 | * @throws \InvalidArgumentException |
||
33 | */ |
||
34 | 4 | public function setSerializer($serializer = null) |
|
53 | } |
||
54 |