<?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 getCustomsInvoiceNumberGeneratorService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Core\Service\CustomsDeclaration\CustomsInvoiceNumberGenerator' shared autowired service.
     *
     * @return \App\Core\Service\CustomsDeclaration\CustomsInvoiceNumberGenerator
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['doctrine_mongodb.odm.default_document_manager'] ?? $container->load('getDoctrineMongodb_Odm_DefaultDocumentManagerService'));

        if (isset($container->privates['App\\Core\\Service\\CustomsDeclaration\\CustomsInvoiceNumberGenerator'])) {
            return $container->privates['App\\Core\\Service\\CustomsDeclaration\\CustomsInvoiceNumberGenerator'];
        }

        $instance = new \App\Core\Service\CustomsDeclaration\CustomsInvoiceNumberGenerator($a, new \Doctrine\ODM\MongoDB\Id\IncrementGenerator());

        if (isset($container->privates['App\\Core\\Service\\CustomsDeclaration\\CustomsInvoiceNumberGenerator'])) {
            return $container->privates['App\\Core\\Service\\CustomsDeclaration\\CustomsInvoiceNumberGenerator'];
        }

        return $container->privates['App\\Core\\Service\\CustomsDeclaration\\CustomsInvoiceNumberGenerator'] = $instance;
    }
}
