privates['console.command.error_dumper'] = $instance = new \Symfony\Component\ErrorHandler\Command\ErrorDumpCommand(($container->privates['filesystem'] ??= new \Symfony\Component\Filesystem\Filesystem()), ($container->privates['twig.error_renderer.html'] ?? $container->load('getTwig_ErrorRenderer_HtmlService')), NULL); $instance->setName('error:dump'); $instance->setDescription('Dump error pages to plain HTML files that can be directly served by a web server'); return $instance; } }