<?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 get_Messenger_HandlerDescriptor_HLDFNg0Service extends App_KernelProdContainer
{
    /*
     * Gets the private '.messenger.handler_descriptor.hLDFNg0' shared service.
     *
     * @return \Symfony\Component\Messenger\Handler\HandlerDescriptor
     */
    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['.messenger.handler_descriptor.hLDFNg0'])) {
            return $container->privates['.messenger.handler_descriptor.hLDFNg0'];
        }
        $b = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['.messenger.handler_descriptor.hLDFNg0'])) {
            return $container->privates['.messenger.handler_descriptor.hLDFNg0'];
        }
        $c = ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container));

        $instance = new \Symfony\Component\Messenger\Handler\HandlerDescriptor(new \App\Core\Support\Handler\ProcessInboundSupportEmailHandler(new \App\Core\Support\Service\Inbound\GmailApiFetcher(($container->privates['App\\Core\\Support\\Service\\Inbound\\GmailApiGateway'] ?? $container->load('getGmailApiGatewayService'))), ($container->privates['App\\Core\\Support\\Service\\Inbound\\InboundEmailParser'] ??= new \App\Core\Support\Service\Inbound\InboundEmailParser()), new \App\Core\Support\Service\Inbound\InboundEmailMatcher(($container->privates['App\\Repository\\SupportTicketRepository'] ?? $container->load('getSupportTicketRepositoryService'))), new \App\Core\Support\Service\Inbound\InboundAttachmentStorer(($container->privates['file.s3.storage'] ?? $container->load('getFile_S3_StorageService')), $c, ($container->privates['App\\Core\\Support\\Service\\Attachment\\SupportAttachmentPolicy'] ??= new \App\Core\Support\Service\Attachment\SupportAttachmentPolicy())), ($container->privates['App\\Core\\Support\\Service\\Inbound\\InboundMessageAppender'] ?? $container->load('getInboundMessageAppenderService')), ($container->privates['App\\Core\\Support\\Service\\Inbound\\InboundEmailStatusAuditor'] ??= new \App\Core\Support\Service\Inbound\InboundEmailStatusAuditor()), ($container->privates['App\\Repository\\InboundEmailRepository'] ?? $container->load('getInboundEmailRepositoryService')), ($container->privates['App\\Repository\\SupportMailboxRepository'] ?? $container->load('getSupportMailboxRepositoryService')), ($container->privates['App\\Repository\\AgencyRepository'] ?? $container->load('getAgencyRepositoryService')), $a, $b, $c, $container->getEnv('PWA_BASE_URL')), []);

        if (isset($container->privates['.messenger.handler_descriptor.hLDFNg0'])) {
            return $container->privates['.messenger.handler_descriptor.hLDFNg0'];
        }

        return $container->privates['.messenger.handler_descriptor.hLDFNg0'] = $instance;
    }
}
