var/cache/dev/ContainerX3lZuxM/get_Container_Private_PimcoreAdmin_Security_UserLoaderService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerX3lZuxM;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class get_Container_Private_PimcoreAdmin_Security_UserLoaderService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public '.container.private.pimcore_admin.security.user_loader' shared autowired service.
  12.      *
  13.      * @return \Pimcore\Bundle\AdminBundle\Security\User\UserLoader
  14.      *
  15.      * @deprecated Since pimcore/pimcore 10.6: The ".container.private.pimcore_admin.security.user_loader" service is deprecated and will be removed in Pimcore 11. Use \Pimcore\Security\User\UserLoader instead.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('pimcore/pimcore''10.6''The ".container.private.pimcore_admin.security.user_loader" service is deprecated and will be removed in Pimcore 11. Use \\Pimcore\\Security\\User\\UserLoader instead.');
  20.         return $container->services['.container.private.pimcore_admin.security.user_loader'] = new \Pimcore\Bundle\AdminBundle\Security\User\UserLoader(($container->services['Pimcore\\Security\\User\\TokenStorageUserResolver'] ?? $container->getTokenStorageUserResolverService()), ($container->services['Pimcore\\Http\\RequestHelper'] ?? $container->getRequestHelperService()));
  21.     }
  22. }