<?php

namespace ContainerH4AHLTQ;

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 getAppRoleWithScopesFactoryService extends KernelProdContainer
{
    /*
     * Gets the public 'Akeneo\Connectivity\Connection\Infrastructure\Apps\AppRoleWithScopesFactory' shared service.
     *
     * @return \Akeneo\Connectivity\Connection\Infrastructure\Apps\AppRoleWithScopesFactory
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Connectivity/Connection/back/Application/Apps/AppRoleWithScopesFactoryInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Connectivity/Connection/back/Infrastructure/Apps/AppRoleWithScopesFactory.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Connectivity/Connection/back/Infrastructure/Apps/Persistence/Query/IncreaseLabelLengthQuery.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Factory/SimpleFactoryInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Factory/SimpleFactory.php';

        return $container->services['Akeneo\\Connectivity\\Connection\\Infrastructure\\Apps\\AppRoleWithScopesFactory'] = new \Akeneo\Connectivity\Connection\Infrastructure\Apps\AppRoleWithScopesFactory(($container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Apps\\Security\\ScopeMapperRegistry'] ?? $container->load('getScopeMapperRegistryService')), ($container->privates['pim_user.factory.role'] ?? ($container->privates['pim_user.factory.role'] = new \Akeneo\Tool\Component\StorageUtils\Factory\SimpleFactory('Akeneo\\UserManagement\\Component\\Model\\Role'))), ($container->services['pim_user.saver.role_with_permissions'] ?? $container->load('getPimUser_Saver_RoleWithPermissionsService')), new \Akeneo\Connectivity\Connection\Infrastructure\Apps\Persistence\Query\IncreaseLabelLengthQuery(($container->services['doctrine.dbal.default_connection'] ?? $container->getDoctrine_Dbal_DefaultConnectionService())));
    }
}
