var/cache/website/dev/ContainerL1E1j5r/getFosRest_Serializer_ExceptionNormalizer_SymfonyService.php line 11

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 private 'fos_rest.serializer.exception_normalizer.symfony' shared service.
  6. @trigger_error('The "fos_rest.serializer.exception_normalizer.symfony" service is deprecated since FOSRestBundle 2.8.'E_USER_DEPRECATED);
  7. return new \FOS\RestBundle\Serializer\Normalizer\ExceptionNormalizer(($this->privates['fos_rest.exception.messages_map'] ?? ($this->privates['fos_rest.exception.messages_map'] = new \FOS\RestBundle\Util\ExceptionValueMap([]))), true);