var/cache/dev/ContainerIJfVU2K/getFosRest_Exception_TwigControllerService.php line 13

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 public 'fos_rest.exception.twig_controller' shared service.
  6. @trigger_error('The "fos_rest.exception.twig_controller" service is deprecated since FOSRestBundle 2.8.'E_USER_DEPRECATED);
  7. include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/rest-bundle/Util/ExceptionValueMap.php';
  8. 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')));