<?php

namespace ContainerAyoJmP9;

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 getSendEmailHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Emails\LegacyHandler\SendEmailHandler' shared autowired service.
     *
     * @return \App\Emails\LegacyHandler\SendEmailHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Emails/LegacyHandler/SendEmailHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Emails/Service/RecordToEmailMapper/RecordToEmailService.php';
        include_once \dirname(__DIR__, 5).'/www/html/vendor/vich/uploader-bundle/src/Handler/AbstractHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/MediaObjects/Services/MediaObjectFileHandler.php';

        $a = ($container->privates['App\\FieldDefinitions\\LegacyHandler\\FieldDefinitionsHandler'] ?? self::getFieldDefinitionsHandlerService($container));

        if (isset($container->privates['App\\Emails\\LegacyHandler\\SendEmailHandler'])) {
            return $container->privates['App\\Emails\\LegacyHandler\\SendEmailHandler'];
        }
        $b = ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container));

        $instance = new \App\Emails\LegacyHandler\SendEmailHandler((\dirname(__DIR__, 5).'/www/html'), (\dirname(__DIR__, 5).'/www/html/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', ($container->privates['App\\Engine\\LegacyHandler\\LegacyScopeState'] ??= new \App\Engine\LegacyHandler\LegacyScopeState()), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()), $b, new \App\Emails\Service\RecordToEmailMapper\RecordToEmailService(($container->privates['App\\MediaObjects\\Repository\\DefaultMediaObjectManager'] ?? self::getDefaultMediaObjectManagerService($container)), $a, $b, new \App\MediaObjects\Services\MediaObjectFileHandler(($container->privates['vich_uploader.property_mapping_factory'] ?? self::getVichUploader_PropertyMappingFactoryService($container)), ($container->privates['vich_uploader.storage.flysystem'] ?? self::getVichUploader_Storage_FlysystemService($container))), ($container->privates['App\\Module\\Service\\Fields\\Attachments\\AttachmentTypeHandlers\\AttachmentTypeHandlers'] ?? $container->load('getAttachmentTypeHandlersService')), ($container->privates['App\\Module\\LegacyHandler\\ModuleNameMapperHandler'] ?? self::getModuleNameMapperHandlerService($container))), ($container->privates['App\\Emails\\LegacyHandler\\Mailers\\LegacyMailer'] ?? $container->load('getLegacyMailerService')));

        if (isset($container->privates['App\\Emails\\LegacyHandler\\SendEmailHandler'])) {
            return $container->privates['App\\Emails\\LegacyHandler\\SendEmailHandler'];
        }

        return $container->privates['App\\Emails\\LegacyHandler\\SendEmailHandler'] = $instance;
    }
}
