Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
10 | public function __construct() |
||
11 | { |
||
12 | $normalizers = [ |
||
13 | new QuestionNormalizer( |
||
14 | new CategoryNormalizer(), |
||
15 | new AnswerNormalizer() |
||
16 | ), |
||
17 | new QuestionDenormalizer( |
||
18 | new CategoryDenormalizer(), |
||
19 | new AnswerDenormalizer() |
||
20 | ), |
||
21 | ]; |
||
22 | $encoders = [ |
||
23 | new JsonEncoder(), |
||
24 | ]; |
||
25 | |||
26 | parent::__construct($normalizers, $encoders); |
||
27 | } |
||
29 |