var/cache/dev/ContainerSvvuxBz/getMailerService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerSvvuxBz;
  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 getMailerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'Nellapp\Bundle\SDKBundle\Mailer\Mailer' shared autowired service.
  12.      *
  13.      * @return \Nellapp\Bundle\SDKBundle\Mailer\Mailer
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/nellapp/sdk-bundle/src/Mailer/Mailer.php';
  18.         $a = ($container->services['.container.private.twig'] ?? $container->get_Container_Private_TwigService());
  19.         if (isset($container->privates['Nellapp\\Bundle\\SDKBundle\\Mailer\\Mailer'])) {
  20.             return $container->privates['Nellapp\\Bundle\\SDKBundle\\Mailer\\Mailer'];
  21.         }
  22.         $container->privates['Nellapp\\Bundle\\SDKBundle\\Mailer\\Mailer'] = $instance = new \Nellapp\Bundle\SDKBundle\Mailer\Mailer($container->getEnv('MAIL_SENDER'), $container->getEnv('MAIL_SENDER_NAME'), $container->getEnv('BREVO_API_URL'), $container->getEnv('BREVO_API_KEY'), $container->getEnv('MAIL_DEV_ADDRESS'), $container->getEnv('bool:MAIL_TO_DEV'), $container->getEnv('bool:ACTIVE_MAIL'), $a, ($container->privates['.debug.http_client'] ?? $container->get_Debug_HttpClientService()));
  23.         $instance->setLogger(($container->privates['monolog.logger'] ?? $container->getMonolog_LoggerService()));
  24.         return $instance;
  25.     }
  26. }