var/cache/dev/ContainerZmNNfXN/getSerializerService.php line 49

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the public 'serializer' shared service.
  6. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/SerializerInterface.php';
  7. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/NormalizerInterface.php';
  8. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/ContextAwareNormalizerInterface.php';
  9. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/DenormalizerInterface.php';
  10. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/ContextAwareDenormalizerInterface.php';
  11. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/EncoderInterface.php';
  12. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/ContextAwareEncoderInterface.php';
  13. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/DecoderInterface.php';
  14. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/ContextAwareDecoderInterface.php';
  15. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Serializer.php';
  16. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/CacheableSupportsMethodInterface.php';
  17. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/ProblemNormalizer.php';
  18. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/SerializerAwareInterface.php';
  19. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/ObjectToPopulateTrait.php';
  20. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/SerializerAwareTrait.php';
  21. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/AbstractNormalizer.php';
  22. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/JsonSerializableNormalizer.php';
  23. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/DateTimeNormalizer.php';
  24. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/ConstraintViolationListNormalizer.php';
  25. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/NameConverter/NameConverterInterface.php';
  26. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/NameConverter/AdvancedNameConverterInterface.php';
  27. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/NameConverter/MetadataAwareNameConverter.php';
  28. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/DateTimeZoneNormalizer.php';
  29. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/DateIntervalNormalizer.php';
  30. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/DataUriNormalizer.php';
  31. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/ArrayDenormalizer.php';
  32. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php';
  33. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Normalizer/ObjectNormalizer.php';
  34. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Mapping/ClassDiscriminatorResolverInterface.php';
  35. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Mapping/ClassDiscriminatorFromClassMetadata.php';
  36. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/NormalizationAwareInterface.php';
  37. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/XmlEncoder.php';
  38. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/JsonEncoder.php';
  39. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/YamlEncoder.php';
  40. include_once \dirname(__DIR__4).'/vendor/symfony/serializer/Encoder/CsvEncoder.php';
  41. $a = ($this->privates['serializer.mapping.class_metadata_factory'] ?? $this->load('getSerializer_Mapping_ClassMetadataFactoryService.php'));
  42. $b = new \Symfony\Component\Serializer\NameConverter\MetadataAwareNameConverter($a);
  43. return $this->services['serializer'] = new \Symfony\Component\Serializer\Serializer([=> new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $b), => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(NULL), => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), => new \Symfony\Component\Serializer\Normalizer\ObjectNormalizer($a$b, ($this->privates['property_accessor'] ?? $this->load('getPropertyAccessorService.php')), ($this->privates['property_info'] ?? $this->getPropertyInfoService()), new \Symfony\Component\Serializer\Mapping\ClassDiscriminatorFromClassMetadata($a), NULL, [])], [=> new \Symfony\Component\Serializer\Encoder\XmlEncoder(), => new \Symfony\Component\Serializer\Encoder\JsonEncoder(), => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), => new \Symfony\Component\Serializer\Encoder\CsvEncoder()]);