<?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.

include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/rest-bundle/Controller/ExceptionController.php';
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/rest-bundle/Controller/TemplatingExceptionController.php';
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/rest-bundle/Controller/TwigExceptionController.php';
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/rest-bundle/Util/ExceptionValueMap.php';

$a = new \Twig\Environment(($this->privates['twig.loader.native_filesystem'] ?? $this->getTwig_Loader_NativeFilesystemService()), ['debug' => false, 'strict_variables' => false, '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.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.form'] ?? ($this->privates['twig.extension.form'] = new \Symfony\Bridge\Twig\Extension\FormExtension())));
$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['App\\Twig\\AvatarExtension'] ?? $this->getAvatarExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\ConfigExtension'] ?? $this->getConfigExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\DatatableExtensions'] ?? $this->getDatatableExtensionsService()));
$a->addExtension(($this->privates['App\\Twig\\DateExtensions'] ?? $this->getDateExtensionsService()));
$a->addExtension(($this->privates['App\\Twig\\EncoreExtension'] ?? $this->getEncoreExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\EventExtensions'] ?? ($this->privates['App\\Twig\\EventExtensions'] = new \App\Twig\EventExtensions())));
$a->addExtension(($this->privates['App\\Twig\\Extensions'] ?? ($this->privates['App\\Twig\\Extensions'] = new \App\Twig\Extensions())));
$a->addExtension(($this->privates['App\\Twig\\IconExtension'] ?? ($this->privates['App\\Twig\\IconExtension'] = new \App\Twig\IconExtension())));
$a->addExtension(($this->privates['App\\Twig\\LocaleExtensions'] ?? $this->getLocaleExtensionsService()));
$a->addExtension(($this->privates['App\\Twig\\MarkdownExtension'] ?? $this->getMarkdownExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\PaginationExtension'] ?? $this->getPaginationExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\ReportingExtension'] ?? $this->getReportingExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\TimesheetExtension'] ?? $this->getTimesheetExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\TitleExtension'] ?? $this->getTitleExtensionService()));
$a->addExtension(($this->privates['App\\Twig\\WidgetExtension'] ?? $this->getWidgetExtensionService()));
$a->addExtension(($this->privates['doctrine.twig.doctrine_extension'] ?? ($this->privates['doctrine.twig.doctrine_extension'] = new \Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension())));
$a->addExtension(($this->privates['KevinPapst\\AdminLTEBundle\\Twig\\AdminExtension'] ?? $this->getAdminExtensionService()));
$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['webpack_encore.twig_entry_files_extension'] ?? $this->getWebpackEncore_TwigEntryFilesExtensionService()));
$a->addExtension(($this->privates['twig.extension.intl'] ?? ($this->privates['twig.extension.intl'] = new \Twig\Extra\Intl\IntlExtension())));
$a->addExtension(($this->privates['twig.extension.cssinliner'] ?? ($this->privates['twig.extension.cssinliner'] = new \Twig\Extra\CssInliner\CssInlinerExtension())));
$a->addExtension(($this->privates['twig.extension.inky'] ?? ($this->privates['twig.extension.inky'] = new \Twig\Extra\Inky\InkyExtension())));
$a->addExtension(($this->privates['twig.extension.string'] ?? ($this->privates['twig.extension.string'] = new \Twig\Extra\String\StringExtension())));
$a->addGlobal('app', ($this->privates['twig.app_variable'] ?? $this->getTwig_AppVariableService()));
$a->addRuntimeLoader(($this->privates['twig.runtime_loader'] ?? $this->getTwig_RuntimeLoaderService()));
$a->addGlobal('admin_lte_context', ($this->privates['admin_lte_theme.context_helper'] ?? $this->getAdminLteTheme_ContextHelperService()));
$a->addGlobal('kimai_context', new \App\Configuration\ThemeConfiguration(($this->privates['App\\Repository\\ConfigurationRepository'] ?? $this->getConfigurationRepositoryService()), $this->parameters['kimai.theme']));
$a->addGlobal('saml', $this->parameters['kimai.saml']);
($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([]))), false, $a);
