|
49 | 49 | use Symfony\Component\PropertyInfo\PropertyListExtractorInterface;
|
50 | 50 | use Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface;
|
51 | 51 | use Symfony\Component\Serializer\Encoder\CsvEncoder;
|
| 52 | +use Symfony\Component\Serializer\Encoder\DecoderInterface; |
52 | 53 | use Symfony\Component\Serializer\Encoder\EncoderInterface;
|
53 | 54 | use Symfony\Component\Serializer\Encoder\YamlEncoder;
|
54 | 55 | use Symfony\Component\Serializer\Mapping\Factory\CacheClassMetadataFactory;
|
55 | 56 | use Symfony\Component\Serializer\Normalizer\DataUriNormalizer;
|
56 | 57 | use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer;
|
| 58 | +use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; |
57 | 59 | use Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer;
|
58 | 60 | use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
59 | 61 | use Symfony\Component\Validator\ConstraintValidatorInterface;
|
@@ -285,8 +287,12 @@ public function load(array $configs, ContainerBuilder $container)
|
285 | 287 | ->addTag('property_info.access_extractor');
|
286 | 288 | $container->registerForAutoconfiguration(EncoderInterface::class)
|
287 | 289 | ->addTag('serializer.encoder');
|
| 290 | + $container->registerForAutoconfiguration(DecoderInterface::class) |
| 291 | + ->addTag('serializer.encoder'); |
288 | 292 | $container->registerForAutoconfiguration(NormalizerInterface::class)
|
289 | 293 | ->addTag('serializer.normalizer');
|
| 294 | + $container->registerForAutoconfiguration(DenormalizerInterface::class) |
| 295 | + ->addTag('serializer.normalizer'); |
290 | 296 | $container->registerForAutoconfiguration(ConstraintValidatorInterface::class)
|
291 | 297 | ->addTag('validator.constraint_validator');
|
292 | 298 | $container->registerForAutoconfiguration(ObjectInitializerInterface::class)
|
|
0 commit comments