var/cache/website/dev/ContainerFRgCiKS/getSwiftmailer_Mailer_DefaultService.php line 22

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_Mailer_DefaultService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'swiftmailer.mailer.default' shared service.
  12.      *
  13.      * @return \Swift_Mailer
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__5).'/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php';
  18.         $a = ($container->services['swiftmailer.transport'] ?? $container->load('getSwiftmailer_TransportService'));
  19.         if (isset($container->services['swiftmailer.mailer.default'])) {
  20.             return $container->services['swiftmailer.mailer.default'];
  21.         }
  22.         return $container->services['swiftmailer.mailer.default'] = new \Swift_Mailer($a);
  23.     }
  24. }