var/cache/dev/ContainerG6dvskl/getFosRest_Exception_TwigControllerService.php line 12

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  4. // Returns the public 'fos_rest.exception.twig_controller' shared service.
  5. include_once $this->targetDirs[3].'/vendor/friendsofsymfony/rest-bundle/Util/ExceptionValueMap.php';
  6. @trigger_error('The "fos_rest.exception.twig_controller" service is deprecated since FOSRestBundle 2.8.'E_USER_DEPRECATED);
  7. return $this->services['fos_rest.exception.twig_controller'] = new \FOS\RestBundle\Controller\TwigExceptionController(${($_ = isset($this->services['FOS\\RestBundle\\View\\ViewHandlerInterface']) ? $this->services['FOS\\RestBundle\\View\\ViewHandlerInterface'] : $this->load('getViewHandlerInterfaceService.php')) && false ?: '_'}, ${($_ = isset($this->services['fos_rest.exception.codes_map']) ? $this->services['fos_rest.exception.codes_map'] : ($this->services['fos_rest.exception.codes_map'] = new \FOS\RestBundle\Util\ExceptionValueMap(['Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException' => 404'Doctrine\\ORM\\OptimisticLockException' => 409]))) && false ?: '_'}, true, ${($_ = isset($this->services['templating']) ? $this->services['templating'] : $this->load('getTemplatingService.php')) && false ?: '_'});