1 | <?php |
||
10 | final class DenormalizerObjectMappingRegistry implements DenormalizerObjectMappingRegistryInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var DenormalizationObjectMappingInterface[] |
||
14 | */ |
||
15 | private $objectMappings; |
||
16 | |||
17 | /** |
||
18 | * @param array $objectMappings |
||
19 | */ |
||
20 | 2 | public function __construct(array $objectMappings) |
|
27 | |||
28 | /** |
||
29 | * @param DenormalizationObjectMappingInterface $objectMapping |
||
30 | */ |
||
31 | 1 | private function addObjectMapping(DenormalizationObjectMappingInterface $objectMapping) |
|
35 | |||
36 | /** |
||
37 | * @param string $class |
||
38 | * |
||
39 | * @return DenormalizationObjectMappingInterface |
||
40 | * |
||
41 | * @throws DeserializerLogicException |
||
42 | */ |
||
43 | 2 | public function getObjectMapping(string $class): DenormalizationObjectMappingInterface |
|
51 | } |
||
52 |