<?php

namespace ContainerRYWeSXx;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getGlsCustomsDeclarationToInvoiceDtoProviderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\ApiPlatform\State\CustomsDeclaration\GlsCustomsDeclarationToInvoiceDtoProvider' shared autowired service.
     *
     * @return \App\ApiPlatform\State\CustomsDeclaration\GlsCustomsDeclarationToInvoiceDtoProvider
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['api_platform.doctrine_mongodb.odm.state.item_provider'] ?? $container->load('getApiPlatform_DoctrineMongodb_Odm_State_ItemProviderService'));

        if (isset($container->privates['App\\ApiPlatform\\State\\CustomsDeclaration\\GlsCustomsDeclarationToInvoiceDtoProvider'])) {
            return $container->privates['App\\ApiPlatform\\State\\CustomsDeclaration\\GlsCustomsDeclarationToInvoiceDtoProvider'];
        }

        $instance = new \App\ApiPlatform\State\CustomsDeclaration\GlsCustomsDeclarationToInvoiceDtoProvider($a, ($container->privates['App\\Core\\Service\\CustomsDeclaration\\GlsCustomsDeclarationToInvoiceMapper'] ?? $container->load('getGlsCustomsDeclarationToInvoiceMapperService')));

        if (isset($container->privates['App\\ApiPlatform\\State\\CustomsDeclaration\\GlsCustomsDeclarationToInvoiceDtoProvider'])) {
            return $container->privates['App\\ApiPlatform\\State\\CustomsDeclaration\\GlsCustomsDeclarationToInvoiceDtoProvider'];
        }

        return $container->privates['App\\ApiPlatform\\State\\CustomsDeclaration\\GlsCustomsDeclarationToInvoiceDtoProvider'] = $instance;
    }
}
