<?php

namespace ContainerEKZIeE8;

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 getSuluDocumentManager_Document_Subscriber_CopyLocaleService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_document_manager.document.subscriber.copy_locale' shared service.
     *
     * @return \Sulu\Component\Content\Document\Subscriber\CopyLocaleSubscriber
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['sulu_document_manager.document_manager'] ?? self::getSuluDocumentManager_DocumentManagerService($container));

        if (isset($container->privates['sulu_document_manager.document.subscriber.copy_locale'])) {
            return $container->privates['sulu_document_manager.document.subscriber.copy_locale'];
        }
        $b = ($container->services['sulu_document_manager.document_inspector'] ?? self::getSuluDocumentManager_DocumentInspectorService($container));

        if (isset($container->privates['sulu_document_manager.document.subscriber.copy_locale'])) {
            return $container->privates['sulu_document_manager.document.subscriber.copy_locale'];
        }
        $c = ($container->privates['sulu.content.resource_locator.strategy_pool'] ?? self::getSulu_Content_ResourceLocator_StrategyPoolService($container));

        if (isset($container->privates['sulu_document_manager.document.subscriber.copy_locale'])) {
            return $container->privates['sulu_document_manager.document.subscriber.copy_locale'];
        }

        return $container->privates['sulu_document_manager.document.subscriber.copy_locale'] = new \Sulu\Component\Content\Document\Subscriber\CopyLocaleSubscriber($a, $b, $c);
    }
}
