Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | abstract class AbstractSerializerResponseTransformer implements ResponseTransformerInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var SerializerInterface |
||
14 | */ |
||
15 | protected $serializer; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $class; |
||
21 | |||
22 | /** |
||
23 | * @var ContextInterface|null |
||
24 | */ |
||
25 | protected $context; |
||
26 | |||
27 | 17 | public function __construct(SerializerInterface $serializer, string $class, ContextInterface $context = null) |
|
34 |