<?php

namespace ContainerXAyNPD7;

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 getDownloadInboundEmailAttachmentProviderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\ApiPlatform\State\InboundEmail\DownloadInboundEmailAttachmentProvider' shared autowired service.
     *
     * @return \App\ApiPlatform\State\InboundEmail\DownloadInboundEmailAttachmentProvider
     */
    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\\ApiPlatform\\State\\InboundEmail\\DownloadInboundEmailAttachmentProvider'])) {
            return $container->privates['App\\ApiPlatform\\State\\InboundEmail\\DownloadInboundEmailAttachmentProvider'];
        }

        $instance = new \App\ApiPlatform\State\InboundEmail\DownloadInboundEmailAttachmentProvider($a, ($container->privates['file.s3.storage'] ?? $container->load('getFile_S3_StorageService')), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));

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

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