var/cache/dev/ContainerDoDKEcS/getSecurity_AuthenticationManagerService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerDoDKEcS;
  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_AuthenticationManagerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public '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->services['security.authentication_manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(new RewindableGenerator(function () use ($container) {
  21.             yield => ($container->privates['security.authentication.provider.dao.admin'] ?? $container->load('getSecurity_Authentication_Provider_Dao_AdminService'));
  22.             yield => ($container->privates['security.authentication.provider.rememberme.admin'] ?? $container->load('getSecurity_Authentication_Provider_Rememberme_AdminService'));
  23.             yield => ($container->privates['security.authentication.provider.anonymous.admin'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_AdminService'));
  24.             yield => ($container->privates['security.authentication.provider.guard.new_api_admin_user'] ?? $container->load('getSecurity_Authentication_Provider_Guard_NewApiAdminUserService'));
  25.             yield => ($container->privates['security.authentication.provider.dao.new_api_admin_user'] ?? $container->load('getSecurity_Authentication_Provider_Dao_NewApiAdminUserService'));
  26.             yield => ($container->privates['security.authentication.provider.anonymous.new_api_admin_user'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_NewApiAdminUserService'));
  27.             yield => ($container->privates['security.authentication.provider.guard.new_api_shop_user'] ?? $container->load('getSecurity_Authentication_Provider_Guard_NewApiShopUserService'));
  28.             yield => ($container->privates['security.authentication.provider.dao.new_api_shop_user'] ?? $container->load('getSecurity_Authentication_Provider_Dao_NewApiShopUserService'));
  29.             yield => ($container->privates['security.authentication.provider.anonymous.new_api_shop_user'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_NewApiShopUserService'));
  30.             yield => ($container->privates['security.authentication.provider.dao.shop'] ?? $container->load('getSecurity_Authentication_Provider_Dao_ShopService'));
  31.             yield 10 => ($container->privates['security.authentication.provider.rememberme.shop'] ?? $container->load('getSecurity_Authentication_Provider_Rememberme_ShopService'));
  32.             yield 11 => ($container->privates['security.authentication.provider.anonymous.shop'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_ShopService'));
  33.         }, 12), true);
  34.         $instance->setEventDispatcher(($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()));
  35.         return $instance;
  36.     }
  37. }