<?php

namespace ContainerIrz6C8o;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSuluWebsite_Command_DumpSitemapService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_website.command.dump_sitemap' shared service.
     *
     * @return \Sulu\Bundle\WebsiteBundle\Command\DumpSitemapCommand
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'WebsiteBundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'DumpSitemapCommand.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'WebsiteBundle'.\DIRECTORY_SEPARATOR.'Sitemap'.\DIRECTORY_SEPARATOR.'XmlSitemapDumperInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'WebsiteBundle'.\DIRECTORY_SEPARATOR.'Sitemap'.\DIRECTORY_SEPARATOR.'XmlSitemapDumper.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'WebsiteBundle'.\DIRECTORY_SEPARATOR.'Sitemap'.\DIRECTORY_SEPARATOR.'XmlSitemapRendererInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'WebsiteBundle'.\DIRECTORY_SEPARATOR.'Sitemap'.\DIRECTORY_SEPARATOR.'XmlSitemapRenderer.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'WebsiteBundle'.\DIRECTORY_SEPARATOR.'Sitemap'.\DIRECTORY_SEPARATOR.'SitemapProviderPoolInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'WebsiteBundle'.\DIRECTORY_SEPARATOR.'Sitemap'.\DIRECTORY_SEPARATOR.'SitemapProviderPool.php';

        $a = new \Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPool(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['sulu_page.pages_sitemap_provider'] ?? $container->load('getSuluPage_PagesSitemapProviderService'));
        }, 1));
        $b = ($container->services['.container.private.filesystem'] ?? ($container->services['.container.private.filesystem'] = new \Symfony\Component\Filesystem\Filesystem()));

        $container->privates['sulu_website.command.dump_sitemap'] = $instance = new \Sulu\Bundle\WebsiteBundle\Command\DumpSitemapCommand(($container->services['sulu_core.webspace.webspace_manager'] ?? $container->getSuluCore_Webspace_WebspaceManagerService()), new \Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapDumper(new \Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapRenderer($a, ($container->services['.container.private.twig'] ?? $container->get_Container_Private_TwigService())), $a, $b, ($container->targetDir.''.'/sulu/sitemaps')), $b, ($container->targetDir.''.'/sulu/sitemaps'), 'dev', 'http', 'localhost');

        $instance->setName('sulu:website:dump-sitemap');

        return $instance;
    }
}
