<?php

namespace ContainerRYWeSXx;

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 getImpersonateUserProviderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\ApiPlatform\State\User\ImpersonateUserProvider' shared autowired service.
     *
     * @return \App\ApiPlatform\State\User\ImpersonateUserProvider
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['security.helper'] ?? self::getSecurity_HelperService($container));

        if (isset($container->privates['App\\ApiPlatform\\State\\User\\ImpersonateUserProvider'])) {
            return $container->privates['App\\ApiPlatform\\State\\User\\ImpersonateUserProvider'];
        }
        $b = ($container->services['lexik_jwt_authentication.jwt_manager'] ?? $container->load('getLexikJwtAuthentication_JwtManagerService'));

        if (isset($container->privates['App\\ApiPlatform\\State\\User\\ImpersonateUserProvider'])) {
            return $container->privates['App\\ApiPlatform\\State\\User\\ImpersonateUserProvider'];
        }

        $instance = new \App\ApiPlatform\State\User\ImpersonateUserProvider($a, $b);

        if (isset($container->privates['App\\ApiPlatform\\State\\User\\ImpersonateUserProvider'])) {
            return $container->privates['App\\ApiPlatform\\State\\User\\ImpersonateUserProvider'];
        }

        return $container->privates['App\\ApiPlatform\\State\\User\\ImpersonateUserProvider'] = $instance;
    }
}
