<?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__, 5).'/vendor/friendsofsymfony/rest-bundle/Util/ExceptionValueMap.php';
$a = new \Twig\Environment(($this->privates['twig.loader.native_filesystem'] ?? $this->getTwig_Loader_NativeFilesystemService()), ['debug' => true, 'strict_variables' => true, 'autoescape' => 'name', 'cache' => ($this->targetDir.''.'/twig'), 'charset' => 'UTF-8']);
$a->addExtension(($this->privates['twig.extension.security_csrf'] ?? ($this->privates['twig.extension.security_csrf'] = new \Symfony\Bridge\Twig\Extension\CsrfExtension())));
$a->addExtension(($this->privates['twig.extension.logout_url'] ?? $this->getTwig_Extension_LogoutUrlService()));
$a->addExtension(($this->privates['twig.extension.security'] ?? $this->getTwig_Extension_SecurityService()));
$a->addExtension(($this->privates['twig.extension.profiler'] ?? $this->getTwig_Extension_ProfilerService()));
$a->addExtension(($this->privates['twig.extension.trans'] ?? $this->getTwig_Extension_TransService()));
$a->addExtension(($this->privates['twig.extension.assets'] ?? $this->getTwig_Extension_AssetsService()));
$a->addExtension(($this->privates['twig.extension.code'] ?? $this->getTwig_Extension_CodeService()));
$a->addExtension(($this->privates['twig.extension.routing'] ?? $this->getTwig_Extension_RoutingService()));
$a->addExtension(($this->privates['twig.extension.yaml'] ?? ($this->privates['twig.extension.yaml'] = new \Symfony\Bridge\Twig\Extension\YamlExtension())));
$a->addExtension(($this->privates['twig.extension.debug.stopwatch'] ?? $this->getTwig_Extension_Debug_StopwatchService()));
$a->addExtension(($this->privates['twig.extension.expression'] ?? ($this->privates['twig.extension.expression'] = new \Symfony\Bridge\Twig\Extension\ExpressionExtension())));
$a->addExtension(($this->privates['twig.extension.httpkernel'] ?? ($this->privates['twig.extension.httpkernel'] = new \Symfony\Bridge\Twig\Extension\HttpKernelExtension())));
$a->addExtension(($this->privates['twig.extension.httpfoundation'] ?? $this->getTwig_Extension_HttpfoundationService()));
$a->addExtension(($this->privates['twig.extension.weblink'] ?? $this->getTwig_Extension_WeblinkService()));
$a->addExtension(($this->privates['twig.extension.form'] ?? ($this->privates['twig.extension.form'] = new \Symfony\Bridge\Twig\Extension\FormExtension())));
$a->addExtension(($this->privates['twig.extension.dump'] ?? $this->getTwig_Extension_DumpService()));
$a->addExtension(($this->privates['Twig\\Extensions\\IntlExtension'] ?? ($this->privates['Twig\\Extensions\\IntlExtension'] = new \Twig\Extensions\IntlExtension())));
$a->addExtension(($this->privates['doctrine.twig.doctrine_extension'] ?? ($this->privates['doctrine.twig.doctrine_extension'] = new \Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension())));
$a->addExtension(($this->privates['twig.extension.webprofiler'] ?? $this->getTwig_Extension_WebprofilerService()));
$a->addExtension(($this->privates['easyadmin.twig.extension'] ?? $this->getEasyadmin_Twig_ExtensionService()));
$a->addExtension(($this->privates['fos_ck_editor.twig_extension'] ?? $this->getFosCkEditor_TwigExtensionService()));
$a->addExtension(($this->privates['jms_serializer.twig_extension.serializer'] ?? ($this->privates['jms_serializer.twig_extension.serializer'] = new \JMS\Serializer\Twig\SerializerRuntimeExtension())));
$a->addExtension(($this->privates['twig.extension.craue_config_template'] ?? $this->getTwig_Extension_CraueConfigTemplateService()));
$a->addExtension(($this->privates['eight_points_guzzle.twig_extension.debug'] ?? ($this->privates['eight_points_guzzle.twig_extension.debug'] = new \EightPoints\Bundle\GuzzleBundle\Twig\Extension\DebugExtension())));
$a->addGlobal('app', ($this->privates['twig.app_variable'] ?? $this->getTwig_AppVariableService()));
$a->addRuntimeLoader(($this->privates['twig.runtime_loader'] ?? $this->getTwig_RuntimeLoaderService()));
$a->addGlobal('coins_manager', ($this->privates['App\\Service\\CoinsManager'] ?? $this->getCoinsManagerService()));
($this->privates['twig.configurator.environment'] ?? $this->getTwig_Configurator_EnvironmentService())->configure($a);
return $this->services['fos_rest.exception.twig_controller'] = new \FOS\RestBundle\Controller\TwigExceptionController(($this->services['fos_rest.view_handler'] ?? $this->load('getFosRest_ViewHandlerService.php')), ($this->privates['fos_rest.exception.codes_map'] ?? ($this->privates['fos_rest.exception.codes_map'] = new \FOS\RestBundle\Util\ExceptionValueMap(['App\\Exception\\ResourceNotFoundException' => 404, 'App\\Exception\\BadRequestException' => 400, 'App\\Exception\\ServiceUnavailableException' => 503]))), true, $a);