<?php

namespace ContainerMmke1fB;

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

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSuluReference_RefreshCommandService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_reference.refresh_command' shared service.
     *
     * @return \Sulu\Bundle\ReferenceBundle\UserInterface\Command\RefreshCommand
     */
    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.'SignalableCommandInterface.php';
        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.'ReferenceBundle'.\DIRECTORY_SEPARATOR.'UserInterface'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'RefreshCommand.php';

        $container->privates['sulu_reference.refresh_command'] = $instance = new \Sulu\Bundle\ReferenceBundle\UserInterface\Command\RefreshCommand(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['sulu_snippet.snippet_reference_refresher'] ?? $container->load('getSuluSnippet_SnippetReferenceRefresherService'));
            yield 1 => ($container->privates['sulu_page.page_reference_refresher'] ?? $container->load('getSuluPage_PageReferenceRefresherService'));
        }, 2), ($container->privates['sulu_reference.reference_repository'] ?? $container->load('getSuluReference_ReferenceRepositoryService')), 'website');

        $instance->setName('sulu:reference:refresh');

        return $instance;
    }
}
