Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
12 | public function __construct() |
||
13 | { |
||
14 | $normalizers = [ |
||
15 | new CompanyNormalizer( |
||
16 | new TranslatedAliasNormalizer(), |
||
17 | new UserNormalizer() |
||
18 | ), |
||
19 | new CompanyDenormalizer( |
||
20 | new TranslatedAliasDenormalizer(), |
||
21 | new UserDenormalizer() |
||
22 | ), |
||
23 | ]; |
||
24 | $encoders = [ |
||
25 | new JsonEncoder(), |
||
26 | ]; |
||
27 | |||
28 | parent::__construct($normalizers, $encoders); |
||
29 | } |
||
31 |