<?php

namespace ContainerNrhf1I4;

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

        $a = ($container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\ConnectionContext'] ?? $container->load('getConnectionContextService'));

        if (isset($container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Connections\\WrongCredentialsCombination\\EventSubscriber\\ApiAuthenticationEventSubscriber'])) {
            return $container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Connections\\WrongCredentialsCombination\\EventSubscriber\\ApiAuthenticationEventSubscriber'];
        }
        $b = ($container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Connections\\WrongCredentialsCombination\\Persistence\\DbalWrongCredentialsCombinationRepository'] ?? $container->load('getDbalWrongCredentialsCombinationRepositoryService'));

        if (isset($container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Connections\\WrongCredentialsCombination\\EventSubscriber\\ApiAuthenticationEventSubscriber'])) {
            return $container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Connections\\WrongCredentialsCombination\\EventSubscriber\\ApiAuthenticationEventSubscriber'];
        }

        return $container->privates['Akeneo\\Connectivity\\Connection\\Infrastructure\\Connections\\WrongCredentialsCombination\\EventSubscriber\\ApiAuthenticationEventSubscriber'] = new \Akeneo\Connectivity\Connection\Infrastructure\Connections\WrongCredentialsCombination\EventSubscriber\ApiAuthenticationEventSubscriber($a, $b);
    }
}
