var/cache/website/dev/ContainerL1E1j5r/getSerializerService.php line 13

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. $a = new \Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory(new \Symfony\Component\Serializer\Mapping\Loader\LoaderChain([=> new \Symfony\Component\Serializer\Mapping\Loader\AnnotationLoader(($this->privates['annotations.cached_reader'] ?? $this->getAnnotations_CachedReaderService()))]));
  7. $b = new \Symfony\Component\Serializer\NameConverter\MetadataAwareNameConverter($a);
  8. return $this->services['serializer'] = new \Symfony\Component\Serializer\Serializer([=> new \FOS\RestBundle\Serializer\Normalizer\FormErrorNormalizer(), => $this->load('getFosRest_Serializer_ExceptionNormalizer_SymfonyService.php'), => new \FOS\RestBundle\Serializer\Normalizer\FlattenExceptionNormalizer(($this->privates['fos_rest.exception.codes_map'] ?? $this->load('getFosRest_Exception_CodesMapService.php')), ($this->privates['fos_rest.exception.messages_map'] ?? ($this->privates['fos_rest.exception.messages_map'] = new \FOS\RestBundle\Util\ExceptionValueMap([]))), truefalse), => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), => 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(($this->privates['mime_types'] ?? $this->load('getMimeTypesService.php'))), => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 10 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 11 => new \Symfony\Component\Serializer\Normalizer\ObjectNormalizer($a$b, ($this->privates['property_accessor'] ?? $this->load('getPropertyAccessorService.php')), NULL, 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()]);