|
47 | 47 | use Symfony\Component\PropertyInfo\PropertyListExtractorInterface;
|
48 | 48 | use Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface;
|
49 | 49 | use Symfony\Component\Serializer\Encoder\CsvEncoder;
|
| 50 | +use Symfony\Component\Serializer\Encoder\DecoderInterface; |
50 | 51 | use Symfony\Component\Serializer\Encoder\EncoderInterface;
|
51 | 52 | use Symfony\Component\Serializer\Encoder\YamlEncoder;
|
52 | 53 | use Symfony\Component\Serializer\Mapping\Factory\CacheClassMetadataFactory;
|
53 | 54 | use Symfony\Component\Serializer\Normalizer\DataUriNormalizer;
|
54 | 55 | use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer;
|
| 56 | +use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; |
55 | 57 | use Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer;
|
56 | 58 | use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
57 | 59 | use Symfony\Component\Validator\ConstraintValidatorInterface;
|
@@ -276,8 +278,12 @@ public function load(array $configs, ContainerBuilder $container)
|
276 | 278 | ->addTag('property_info.access_extractor');
|
277 | 279 | $container->registerForAutoconfiguration(EncoderInterface::class)
|
278 | 280 | ->addTag('serializer.encoder');
|
| 281 | + $container->registerForAutoconfiguration(DecoderInterface::class) |
| 282 | + ->addTag('serializer.encoder'); |
279 | 283 | $container->registerForAutoconfiguration(NormalizerInterface::class)
|
280 | 284 | ->addTag('serializer.normalizer');
|
| 285 | + $container->registerForAutoconfiguration(DenormalizerInterface::class) |
| 286 | + ->addTag('serializer.normalizer'); |
281 | 287 | $container->registerForAutoconfiguration(ConstraintValidatorInterface::class)
|
282 | 288 | ->addTag('validator.constraint_validator');
|
283 | 289 | $container->registerForAutoconfiguration(ObjectInitializerInterface::class)
|
|
0 commit comments