var/cache/dev/ContainerRWJYH5x/getSwiftmailer_Mailer_Default_Transport_RealService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerRWJYH5x;
  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_Mailer_Default_Transport_RealService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'swiftmailer.mailer.default.transport.real' shared service.
  12.      *
  13.      * @return \Swift_Transport
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/swiftmailer-bundle/DependencyInjection/SwiftmailerTransportFactory.php';
  19.         include_once \dirname(__DIR__4).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventDispatcher.php';
  20.         include_once \dirname(__DIR__4).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php';
  21.         return $container->services['swiftmailer.mailer.default.transport.real'] = \Symfony\Bundle\SwiftmailerBundle\DependencyInjection\SwiftmailerTransportFactory::createTransport(['transport' => 'smtp''url' => $container->getEnv('MAILER_URL'), 'username' => NULL'password' => NULL'host' => 'localhost''port' => NULL'timeout' => 30'source_ip' => NULL'local_domain' => NULL'encryption' => NULL'auth_mode' => NULL'command' => '/usr/sbin/sendmail -t -i''stream_options' => []], ($container->privates['router.request_context'] ?? $container->getRouter_RequestContextService()), ($container->privates['swiftmailer.mailer.default.transport.eventdispatcher'] ?? ($container->privates['swiftmailer.mailer.default.transport.eventdispatcher'] = new \Swift_Events_SimpleEventDispatcher())));
  22.     }
  23. }