var/cache/dev/ContainerYWSmDsf/getMailer_TransportFactory_NullService.php line 21

Open in your IDE?
  1. <?php
  2. namespace ContainerYWSmDsf;
  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 getMailer_TransportFactory_NullService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'mailer.transport_factory.null' shared service.
  12. *
  13. * @return \Symfony\Component\Mailer\Transport\NullTransportFactory
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/Transport/TransportFactoryInterface.php';
  18. include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/Transport/AbstractTransportFactory.php';
  19. include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/Transport/NullTransportFactory.php';
  20. $a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  21. if (isset($container->privates['mailer.transport_factory.null'])) {
  22. return $container->privates['mailer.transport_factory.null'];
  23. }
  24. return $container->privates['mailer.transport_factory.null'] = new \Symfony\Component\Mailer\Transport\NullTransportFactory($a, ($container->privates['.debug.http_client'] ?? $container->get_Debug_HttpClientService()), ($container->privates['monolog.logger.mailer'] ?? $container->load('getMonolog_Logger_MailerService')));
  25. }
  26. }