<?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 getPimChannel_Query_Sql_GetChannelCodeWithLocaleCodesService extends KernelProdContainer
{
    /*
     * Gets the private 'pim_channel.query.sql.get_channel_code_with_locale_codes' shared service.
     *
     * @return \Akeneo\Channel\Infrastructure\Query\Sql\SqlGetChannelCodeWithLocaleCodes
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Component/Query/PublicApi/GetChannelCodeWithLocaleCodesInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Query/Sql/SqlGetChannelCodeWithLocaleCodes.php';

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

        if (isset($container->privates['pim_channel.query.sql.get_channel_code_with_locale_codes'])) {
            return $container->privates['pim_channel.query.sql.get_channel_code_with_locale_codes'];
        }

        return $container->privates['pim_channel.query.sql.get_channel_code_with_locale_codes'] = new \Akeneo\Channel\Infrastructure\Query\Sql\SqlGetChannelCodeWithLocaleCodes($a);
    }
}
