var/cache/dev/ContainerO22g0I3/getSecurity_Authentication_ManagerService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerO22g0I3;
  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 getSecurity_Authentication_ManagerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.authentication.manager' shared service.
  12.      *
  13.      * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager
  14.      *
  15.      * @deprecated Since symfony/security-bundle 5.3: The "security.authentication.manager" service is deprecated, use the new authenticator system instead.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('symfony/security-bundle''5.3''The "security.authentication.manager" service is deprecated, use the new authenticator system instead.');
  20.         $container->privates['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(new RewindableGenerator(function () use ($container) {
  21.             yield => ($container->privates['security.authentication.provider.dao.pimcore_admin_webdav.two_factor_decorator'] ?? $container->load('getSecurity_Authentication_Provider_Dao_PimcoreAdminWebdav_TwoFactorDecoratorService'));
  22.             yield => ($container->privates['security.authentication.provider.guard.pimcore_admin.two_factor_decorator'] ?? $container->load('getSecurity_Authentication_Provider_Guard_PimcoreAdmin_TwoFactorDecoratorService'));
  23.             yield => ($container->privates['security.authentication.provider.two_factor.pimcore_admin'] ?? $container->load('getSecurity_Authentication_Provider_TwoFactor_PimcoreAdminService'));
  24.             yield => ($container->privates['security.authentication.provider.anonymous.pimcore_admin.two_factor_decorator'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_PimcoreAdmin_TwoFactorDecoratorService'));
  25.             yield => ($container->privates['security.authentication.provider.guard.app_admin.two_factor_decorator'] ?? $container->load('getSecurity_Authentication_Provider_Guard_AppAdmin_TwoFactorDecoratorService'));
  26.             yield => ($container->privates['security.authentication.provider.rememberme.app_admin.two_factor_decorator'] ?? $container->load('getSecurity_Authentication_Provider_Rememberme_AppAdmin_TwoFactorDecoratorService'));
  27.             yield => ($container->privates['security.authentication.provider.anonymous.app_admin.two_factor_decorator'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_AppAdmin_TwoFactorDecoratorService'));
  28.         }, 7), true);
  29.         $instance->setEventDispatcher(($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()));
  30.         return $instance;
  31.     }
  32. }