var/cache/test/ContainerPz6f7aq/getErrorHandler_ErrorRenderer_SerializerService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerPz6f7aq;
  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 getErrorHandler_ErrorRenderer_SerializerService extends App_KernelTestDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'error_handler.error_renderer.serializer' shared service.
  12.      *
  13.      * @return \Symfony\Component\ErrorHandler\ErrorRenderer\SerializerErrorRenderer
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/symfony/error-handler/ErrorRenderer/ErrorRendererInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/error-handler/ErrorRenderer/SerializerErrorRenderer.php';
  19.         include_once \dirname(__DIR__4).'/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php';
  20.         $a = ($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack()));
  21.         return $container->privates['error_handler.error_renderer.serializer'] = new \Symfony\Component\ErrorHandler\ErrorRenderer\SerializerErrorRenderer(($container->services['.container.private.serializer'] ?? $container->load('get_Container_Private_SerializerService')), \Symfony\Component\ErrorHandler\ErrorRenderer\SerializerErrorRenderer::getPreferredFormat($a), ($container->privates['twig.error_renderer.html'] ?? $container->load('getTwig_ErrorRenderer_HtmlService')), \Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::isDebug($atrue));
  22.     }
  23. }