var/cache/dev/Container8LCi6zJ/getKernel_ExceptionService.php line 18

Open in your IDE?
  1. <?php
  2. namespace Container8LCi6zJ;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6. * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7. */
  8. class getKernel_ExceptionService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'kernel.exception' shared autowired service.
  12. *
  13. * @return \App\EventListener\ExceptionListener
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/src/EventListener/ExceptionListener.php';
  18. $a = ($container->services['.container.private.twig'] ?? $container->get_Container_Private_TwigService());
  19. if (isset($container->privates['kernel.exception'])) {
  20. return $container->privates['kernel.exception'];
  21. }
  22. return $container->privates['kernel.exception'] = new \App\EventListener\ExceptionListener($a, ($container->services['translator'] ?? $container->getTranslatorService()), ($container->privates['monolog.logger'] ?? $container->getMonolog_LoggerService()), ($container->services['.container.private.session'] ?? $container->get_Container_Private_SessionService()), ($container->services['router'] ?? $container->getRouterService()));
  23. }
  24. }