var/cache/dev/front/Container7xfhpU2/getFosRest_ExceptionListenerService.php line 9

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 private 'fos_rest.exception_listener' shared service.
  6. @trigger_error('The "fos_rest.exception_listener" service is deprecated since FOSRestBundle 2.8.'E_USER_DEPRECATED);
  7. return $this->privates['fos_rest.exception_listener'] = new \FOS\RestBundle\EventListener\ExceptionListener(new \Symfony\Component\HttpKernel\EventListener\ErrorListener('fos_rest.exception.twig_controller::showAction', ($this->privates['monolog.logger.request'] ?? $this->getMonolog_Logger_RequestService()), true), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()));