var/cache/dev/ContainerIJfVU2K/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. include_once \dirname(__DIR__4).'/vendor/symfony/http-kernel/EventListener/ErrorListener.php';
  8. 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()));