var/cache/website/dev/ContainerFRgCiKS/getSwiftmailer_TransportService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerFRgCiKS;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSwiftmailer_TransportService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'swiftmailer.transport' shared service.
  12.      *
  13.      * @return \Swift_Transport_SpoolTransport
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport.php';
  18.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SpoolTransport.php';
  19.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Spool.php';
  20.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/MemorySpool.php';
  21.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventListener.php';
  22.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SendListener.php';
  23.         include_once \dirname(__DIR__5).'/vendor/sulu/sulu/src/Sulu/Bundle/MarkupBundle/Listener/SwiftMailerListener.php';
  24.         include_once \dirname(__DIR__5).'/vendor/sevengroupfrance/sulu-hub-score-form-sender-bundle/src/EventSubscriber/SuluHubScoreFormSender.php';
  25.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventDispatcher.php';
  26.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php';
  27.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/MessageLogger.php';
  28.         $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());
  29.         $instance->registerPlugin(($container->services['swiftmailer.mailer.default.plugin.messagelogger'] ?? ($container->services['swiftmailer.mailer.default.plugin.messagelogger'] = new \Swift_Plugins_MessageLogger())));
  30.         $instance->registerPlugin(new \Sulu\Bundle\MarkupBundle\Listener\SwiftMailerListener(new RewindableGenerator(function () use ($container) {
  31.             yield 'html' => ($container->privates['sulu_markup.parser'] ?? $container->getSuluMarkup_ParserService());
  32.         }, 1), ($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), 'en'));
  33.         $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'))));
  34.         return $instance;
  35.     }
  36. }