<?php

namespace ContainerBnDMNJc;

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 getSecurity_Authentication_KernelExceptionListener_TwoFactor_AdminService extends App_KernelProdContainer
{
    /*
     * Gets the private 'security.authentication.kernel_exception_listener.two_factor.admin' shared service.
     *
     * @return \Scheb\TwoFactorBundle\Security\Http\Firewall\ExceptionListener
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['security.authentication.kernel_exception_listener.two_factor.admin'])) {
            return $container->privates['security.authentication.kernel_exception_listener.two_factor.admin'];
        }

        return $container->privates['security.authentication.kernel_exception_listener.two_factor.admin'] = new \Scheb\TwoFactorBundle\Security\Http\Firewall\ExceptionListener('admin', ($container->privates['security.token_storage'] ?? self::getSecurity_TokenStorageService($container)), ($container->privates['sulu_security.two_factor_authentication_required_handler'] ??= new \Sulu\Bundle\SecurityBundle\Security\TwoFactorAuthenticationRequiredHandler()), $a);
    }
}
