<?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 public 'fos_rest.exception.twig_controller' shared service.
@trigger_error('The "fos_rest.exception.twig_controller" service is deprecated since FOSRestBundle 2.8.', E_USER_DEPRECATED);
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/rest-bundle/Util/ExceptionValueMap.php';
return $this->services['fos_rest.exception.twig_controller'] = new \FOS\RestBundle\Controller\TwigExceptionController(($this->services['fos_rest.view_handler'] ?? $this->getFosRest_ViewHandlerService()), ($this->privates['fos_rest.exception.codes_map'] ?? ($this->privates['fos_rest.exception.codes_map'] = new \FOS\RestBundle\Util\ExceptionValueMap([]))), true, ($this->services['templating'] ?? $this->load('getTemplatingService.php')));