Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
13 | final class ReferenceManyFieldNormalizer implements FieldNormalizerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var AccessorInterface |
||
17 | */ |
||
18 | private $identifierAccessor; |
||
19 | |||
20 | /** |
||
21 | * @var AccessorInterface |
||
22 | */ |
||
23 | private $accessor; |
||
24 | |||
25 | public function __construct(AccessorInterface $identifierAccessor, AccessorInterface $accessor) |
||
26 | { |
||
27 | $this->identifierAccessor = $identifierAccessor; |
||
28 | $this->accessor = $accessor; |
||
29 | 3 | } |
|
30 | |||
31 | 3 | /** |
|
32 | 3 | * @param object $object |
|
33 | 3 | * |
|
34 | * @throws SerializerLogicException |
||
35 | * |
||
36 | * @return mixed |
||
37 | */ |
||
38 | public function normalizeField( |
||
54 | } |
||
55 | } |
||
56 |