| 1 | <?php |
||
| 9 | final class LazyDenormalizationObjectMapping implements DenormalizationObjectMappingInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ContainerInterface |
||
| 13 | */ |
||
| 14 | private $container; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $serviceId; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var DenormalizationClassToTypeMappingInterface[] |
||
| 23 | */ |
||
| 24 | private $denormalizationClassToTypeMappings; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param ContainerInterface $container |
||
| 28 | * @param string $serviceId |
||
| 29 | * @param DenormalizationClassToTypeMappingInterface[] $denormalizationClassToTypeMappings |
||
| 30 | */ |
||
| 31 | 1 | public function __construct(ContainerInterface $container, $serviceId, array $denormalizationClassToTypeMappings) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return DenormalizationClassToTypeMappingInterface[] |
||
| 40 | */ |
||
| 41 | 1 | public function getDenormalizationClassToTypeMappings(): array |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @param string $type |
||
| 48 | * |
||
| 49 | * @return callable |
||
| 50 | */ |
||
| 51 | 1 | public function getDenormalizationFactory(string $type): callable |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @param string $type |
||
| 58 | * |
||
| 59 | * @return DenormalizationFieldMappingInterface[] |
||
| 60 | */ |
||
| 61 | 1 | public function getDenormalizationFieldMappings(string $type): array |
|
| 65 | } |
||
| 66 |