<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the private 'fos_rest.serializer.exception_normalizer.symfony' shared service.
@trigger_error('The "fos_rest.serializer.exception_normalizer.symfony" service is deprecated since FOSRestBundle 2.8.', E_USER_DEPRECATED);
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(['Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException' => true, 'Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException' => true]))), true);