<?php

namespace ContainerNcOKZQY;

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 getModuleManagerService extends AdminKernelProdDebugContainer
{
    /**
     * Gets the public 'PrestaShop\PrestaShop\Core\Module\ModuleManager' shared autowired service.
     *
     * @return \PrestaShop\PrestaShop\Core\Module\ModuleManager
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleRepository'] ?? $container->load('getModuleRepositoryService'));

        if (isset($container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'])) {
            return $container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'];
        }
        $b = ($container->services['.container.private.prestashop.core.admin.data_provider.module_interface'] ?? $container->load('get_Container_Private_Prestashop_Core_Admin_DataProvider_ModuleInterfaceService'));

        if (isset($container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'])) {
            return $container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'];
        }
        $c = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'])) {
            return $container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'];
        }

        $instance = new \PrestaShop\PrestaShop\Core\Module\ModuleManager($a, ($container->services['PrestaShop\\PrestaShop\\Adapter\\Module\\ModuleDataProvider'] ?? self::getModuleDataProviderService($container)), $b, ($container->services['PrestaShop\\PrestaShop\\Core\\Module\\SourceHandler\\SourceHandlerFactory'] ?? $container->load('getSourceHandlerFactoryService')), ($container->services['Symfony\\Contracts\\Translation\\TranslatorInterface'] ?? self::getTranslatorInterfaceService($container)), $c, ($container->services['PrestaShop\\PrestaShop\\Adapter\\HookManager'] ??= new \PrestaShop\PrestaShop\Adapter\HookManager()), (\dirname(__DIR__, 5).'/modules/'), ($container->privates['translation.loader.xliff'] ??= new \Symfony\Component\Translation\Loader\XliffFileLoader()), ($container->services['PrestaShopBundle\\Entity\\Repository\\LangRepository'] ?? self::getLangRepositoryService($container)));

        if (isset($container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'])) {
            return $container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'];
        }

        return $container->services['PrestaShop\\PrestaShop\\Core\\Module\\ModuleManager'] = $instance;
    }
}
