var/cache/dev/ContainerZmNNfXN/getErrorControllerService.php line 17

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 'error_controller' shared service.
  6. include_once \dirname(__DIR__4).'/vendor/symfony/http-kernel/Controller/ErrorController.php';
  7. include_once \dirname(__DIR__4).'/vendor/symfony/error-handler/ErrorRenderer/ErrorRendererInterface.php';
  8. include_once \dirname(__DIR__4).'/vendor/symfony/error-handler/ErrorRenderer/SerializerErrorRenderer.php';
  9. include_once \dirname(__DIR__4).'/vendor/symfony/twig-bridge/ErrorRenderer/TwigErrorRenderer.php';
  10. include_once \dirname(__DIR__4).'/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php';
  11. $a = ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack()));
  12. return $this->services['error_controller'] = new \Symfony\Component\HttpKernel\Controller\ErrorController(($this->services['http_kernel'] ?? $this->getHttpKernelService()), 'error_controller', new \Symfony\Component\ErrorHandler\ErrorRenderer\SerializerErrorRenderer(($this->services['serializer'] ?? $this->load('getSerializerService.php')), \Symfony\Component\ErrorHandler\ErrorRenderer\SerializerErrorRenderer::getPreferredFormat($a), new \Symfony\Bridge\Twig\ErrorRenderer\TwigErrorRenderer(($this->services['twig'] ?? $this->getTwigService()), ($this->privates['error_handler.error_renderer.html'] ?? $this->load('getErrorHandler_ErrorRenderer_HtmlService.php')), \Symfony\Bridge\Twig\ErrorRenderer\TwigErrorRenderer::isDebug($atrue)), \Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::isDebug($atrue)));