<?php
namespace ContainerMhdHbrh;
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 getTokenStorageUserResolver2Service extends App_KernelTestingDebugContainer
{
/**
* Gets the public 'Pimcore\Bundle\AdminBundle\Security\User\TokenStorageUserResolver' shared autowired service.
*
* @return \Pimcore\Bundle\AdminBundle\Security\User\TokenStorageUserResolver
*
* @deprecated Since pimcore/pimcore 10.6: The "Pimcore\Bundle\AdminBundle\Security\User\TokenStorageUserResolver" service is deprecated and will be removed in Pimcore 11. Use \Pimcore\Security\User\TokenStorageUserResolver instead.
*/
public static function do($container, $lazyLoad = true)
{
trigger_deprecation('pimcore/pimcore', '10.6', 'The "Pimcore\\Bundle\\AdminBundle\\Security\\User\\TokenStorageUserResolver" service is deprecated and will be removed in Pimcore 11. Use \\Pimcore\\Security\\User\\TokenStorageUserResolver instead.');
return $container->services['Pimcore\\Bundle\\AdminBundle\\Security\\User\\TokenStorageUserResolver'] = new \Pimcore\Bundle\AdminBundle\Security\User\TokenStorageUserResolver(($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()));
}
}