<?php

namespace ContainerEKZIeE8;

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 getSchebTwoFactor_Security_Email_ProviderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'scheb_two_factor.security.email.provider' shared service.
     *
     * @return \Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\EmailTwoFactorProvider
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['scheb_two_factor.security.email.code_generator'] ?? $container->load('getSchebTwoFactor_Security_Email_CodeGeneratorService'));

        if (isset($container->privates['scheb_two_factor.security.email.provider'])) {
            return $container->privates['scheb_two_factor.security.email.provider'];
        }
        $b = ($container->privates['scheb_two_factor.security.email.default_form_renderer'] ?? $container->load('getSchebTwoFactor_Security_Email_DefaultFormRendererService'));

        if (isset($container->privates['scheb_two_factor.security.email.provider'])) {
            return $container->privates['scheb_two_factor.security.email.provider'];
        }
        $c = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['scheb_two_factor.security.email.provider'])) {
            return $container->privates['scheb_two_factor.security.email.provider'];
        }

        return $container->privates['scheb_two_factor.security.email.provider'] = new \Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\EmailTwoFactorProvider($a, $b, $c);
    }
}
