<?php

namespace ContainerXjEx6S0;

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

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSecurity_Authentication_Provider_Dao_CustomerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'security.authentication.provider.dao.customer' shared service.
     *
     * @return \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider
     *
     * @deprecated Since symfony/security-bundle 5.3: The "security.authentication.provider.dao.customer" service is deprecated, use the new authenticator system instead.
     */
    public static function do($container, $lazyLoad = true)
    {
        trigger_deprecation('symfony/security-bundle', '5.3', 'The "security.authentication.provider.dao.customer" service is deprecated, use the new authenticator system instead.');

        $a = ($container->services['user.provider'] ?? $container->load('getUser_ProviderService'));

        if (isset($container->privates['security.authentication.provider.dao.customer'])) {
            return $container->privates['security.authentication.provider.dao.customer'];
        }

        return $container->privates['security.authentication.provider.dao.customer'] = new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, ($container->privates['security.user_checker'] ?? ($container->privates['security.user_checker'] = new \Symfony\Component\Security\Core\User\InMemoryUserChecker())), 'customer', ($container->privates['security.password_hasher_factory'] ?? $container->load('getSecurity_PasswordHasherFactoryService')), true);
    }
}
