<?php

namespace ContainerOQlxh73;

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 getInstallSubscriberService extends KernelProdContainer
{
    /*
     * Gets the private 'Akeneo\Connectivity\Connection\Infrastructure\Apps\Install\InstallSubscriber' shared service.
     *
     * @return \Akeneo\Connectivity\Connection\Infrastructure\Apps\Install\InstallSubscriber
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Connectivity/Connection/back/Infrastructure/Apps/Install/InstallSubscriber.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Connectivity/Connection/back/Infrastructure/Apps/Install/AddAclToRoles.php';

        $a = ($container->services['doctrine.dbal.default_connection'] ?? $container->getDoctrine_Dbal_DefaultConnectionService());

        if (isset($container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Apps\\Install\\InstallSubscriber'])) {
            return $container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Apps\\Install\\InstallSubscriber'];
        }
        $b = ($container->services['oro_security.acl.manager'] ?? $container->load('getOroSecurity_Acl_ManagerService'));

        if (isset($container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Apps\\Install\\InstallSubscriber'])) {
            return $container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Apps\\Install\\InstallSubscriber'];
        }

        return $container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Apps\\Install\\InstallSubscriber'] = new \Akeneo\Connectivity\Connection\Infrastructure\Apps\Install\InstallSubscriber($a, new \Akeneo\Connectivity\Connection\Infrastructure\Apps\Install\AddAclToRoles($b, ($container->services['pim_user.repository.role'] ?? $container->load('getPimUser_Repository_RoleService'))));
    }
}
