<?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 getSwisspostExportCustomsInvoiceSenderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Core\Messenger\CustomsDeclaration\Sender\SwisspostExportCustomsInvoiceSender' shared autowired service.
     *
     * @return \App\Core\Messenger\CustomsDeclaration\Sender\SwisspostExportCustomsInvoiceSender
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\SwisspostExportCustomsInvoiceSender'])) {
            return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\SwisspostExportCustomsInvoiceSender'];
        }
        $b = ($container->privates['serializer'] ?? self::getSerializerService($container));

        if (isset($container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\SwisspostExportCustomsInvoiceSender'])) {
            return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\SwisspostExportCustomsInvoiceSender'];
        }
        $c = ($container->services['doctrine_mongodb.odm.default_document_manager'] ?? $container->load('getDoctrineMongodb_Odm_DefaultDocumentManagerService'));

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

        $instance = new \App\Core\Messenger\CustomsDeclaration\Sender\SwisspostExportCustomsInvoiceSender($a, $b, ($container->privates['App\\External\\Teliae\\Export\\ExportTeliaeUtil'] ?? $container->load('getExportTeliaeUtilService')), ($container->privates['App\\Core\\Service\\CustomsDeclaration\\CustomsDeclarationToInvoiceMapper'] ?? $container->load('getCustomsDeclarationToInvoiceMapperService')), $c);

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

        return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\SwisspostExportCustomsInvoiceSender'] = $instance;
    }
}
