<?php

namespace Container8hLddcF;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSuluSecurity_TwoFactorMailerService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_security.two_factor_mailer' shared service.
     *
     * @return \Sulu\Bundle\SecurityBundle\TwoFactor\AuthCodeMailer
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'scheb'.\DIRECTORY_SEPARATOR.'2fa-email'.\DIRECTORY_SEPARATOR.'Mailer'.\DIRECTORY_SEPARATOR.'AuthCodeMailerInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'SecurityBundle'.\DIRECTORY_SEPARATOR.'TwoFactor'.\DIRECTORY_SEPARATOR.'AuthCodeMailer.php';

        $a = ($container->privates['mailer.mailer'] ?? self::getMailer_MailerService($container));

        if (isset($container->privates['sulu_security.two_factor_mailer'])) {
            return $container->privates['sulu_security.two_factor_mailer'];
        }
        $b = ($container->privates['twig'] ?? self::getTwigService($container));

        if (isset($container->privates['sulu_security.two_factor_mailer'])) {
            return $container->privates['sulu_security.two_factor_mailer'];
        }

        return $container->privates['sulu_security.two_factor_mailer'] = new \Sulu\Bundle\SecurityBundle\TwoFactor\AuthCodeMailer($a, $b, ($container->services['translator'] ?? self::getTranslatorService($container)), '@SuluSecurity/mail_templates/two_factor', NULL, NULL);
    }
}
