<?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 getPimCatalog_Repository_CurrencyService extends KernelProdContainer
{
    /*
     * Gets the private 'pim_catalog.repository.currency' shared service.
     *
     * @return \Akeneo\Channel\Infrastructure\Doctrine\Repository\CurrencyRepository
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Component/Repository/CurrencyRepositoryInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Doctrine/Repository/CurrencyRepository.php';

        $a = ($container->services['doctrine.orm.default_entity_manager'] ?? $container->getDoctrine_Orm_DefaultEntityManagerService());

        if (isset($container->privates['pim_catalog.repository.currency'])) {
            return $container->privates['pim_catalog.repository.currency'];
        }

        return $container->privates['pim_catalog.repository.currency'] = $a->getRepository('Akeneo\\Channel\\Infrastructure\\Component\\Model\\Currency');
    }
}
