<?php
namespace ContainerFRgCiKS;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSwiftmailer_TransportService extends App_KernelDevDebugContainer
{
/**
* Gets the public 'swiftmailer.transport' shared service.
*
* @return \Swift_Transport_SpoolTransport
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SpoolTransport.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Spool.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/MemorySpool.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventListener.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SendListener.php';
include_once \dirname(__DIR__, 5).'/vendor/sulu/sulu/src/Sulu/Bundle/MarkupBundle/Listener/SwiftMailerListener.php';
include_once \dirname(__DIR__, 5).'/vendor/sevengroupfrance/sulu-hub-score-form-sender-bundle/src/EventSubscriber/SuluHubScoreFormSender.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventDispatcher.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php';
include_once \dirname(__DIR__, 5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/MessageLogger.php';
$container->services['swiftmailer.transport'] = $instance = new \Swift_Transport_SpoolTransport(($container->privates['swiftmailer.mailer.default.transport.eventdispatcher'] ?? ($container->privates['swiftmailer.mailer.default.transport.eventdispatcher'] = new \Swift_Events_SimpleEventDispatcher())), new \Swift_MemorySpool());
$instance->registerPlugin(($container->services['swiftmailer.mailer.default.plugin.messagelogger'] ?? ($container->services['swiftmailer.mailer.default.plugin.messagelogger'] = new \Swift_Plugins_MessageLogger())));
$instance->registerPlugin(new \Sulu\Bundle\MarkupBundle\Listener\SwiftMailerListener(new RewindableGenerator(function () use ($container) {
yield 'html' => ($container->privates['sulu_markup.parser'] ?? $container->getSuluMarkup_ParserService());
}, 1), ($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), 'en'));
$instance->registerPlugin(new \SevenGroupFrance\SuluHubScoreFormSenderBundle\EventSubscriber\SuluHubScoreFormSender($container->getEnv('HUBSCORE_USERNAME'), $container->getEnv('HUBSCORE_PASSWORD'), $container->getEnv('HUBSCORE_URL'), '/login_check', $container->getEnv('HUB_SCORE_SEND_MAIL_CAMPAGN_ID'), $container->getEnv('HUB_SCORE_SEND_MAIL_DATABASE_ID'), '/v1/sends/mails', ($container->privates['.debug.http_client'] ?? $container->get_Debug_HttpClientService()), ($container->privates['session.flash_bag'] ?? $container->load('getSession_FlashBagService'))));
return $instance;
}
}