var/cache/dev/ContainerKxN8iRk/getSecurity_Authentication_ManagerService.php line 24

Open in your IDE?
  1. <?php
  2. namespace ContainerKxN8iRk;
  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.guard.api_security'] ?? $container->load('getSecurity_Authentication_Provider_Guard_ApiSecurityService'));
  22.             yield => ($container->privates['security.authentication.provider.dao.api_security'] ?? $container->load('getSecurity_Authentication_Provider_Dao_ApiSecurityService'));
  23.             yield => ($container->privates['security.authentication.provider.anonymous.api_security'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_ApiSecurityService'));
  24.             yield => ($container->privates['security.authentication.provider.anonymous.api_cms'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_ApiCmsService'));
  25.             yield => ($container->privates['security.authentication.provider.anonymous.api_leads'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_ApiLeadsService'));
  26.             yield => ($container->privates['security.authentication.provider.guard.api_users'] ?? $container->load('getSecurity_Authentication_Provider_Guard_ApiUsersService'));
  27.             yield => ($container->privates['security.authentication.provider.anonymous.api_users'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_ApiUsersService'));
  28.             yield => ($container->privates['security.authentication.provider.anonymous.api_find_user_by_email'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_ApiFindUserByEmailService'));
  29.             yield => ($container->privates['security.authentication.provider.anonymous.graphql'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_GraphqlService'));
  30.             yield => ($container->privates['security.authentication.provider.guard.api'] ?? $container->load('getSecurity_Authentication_Provider_Guard_ApiService'));
  31.             yield 10 => ($container->privates['security.authentication.provider.guard.api_evo'] ?? $container->load('getSecurity_Authentication_Provider_Guard_ApiEvoService'));
  32.             yield 11 => ($container->privates['security.authentication.provider.guard.admin_api'] ?? $container->load('getSecurity_Authentication_Provider_Guard_AdminApiService'));
  33.             yield 12 => ($container->privates['security.authentication.provider.anonymous.refresh'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_RefreshService'));
  34.             yield 13 => ($container->privates['security.authentication.provider.guard.main'] ?? $container->load('getSecurity_Authentication_Provider_Guard_MainService'));
  35.             yield 14 => ($container->privates['security.authentication.provider.rememberme.main'] ?? $container->load('getSecurity_Authentication_Provider_Rememberme_MainService'));
  36.             yield 15 => ($container->privates['security.authentication.provider.anonymous.main'] ?? $container->load('getSecurity_Authentication_Provider_Anonymous_MainService'));
  37.         }, 16), true);
  38.         $instance->setEventDispatcher(($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()));
  39.         return $instance;
  40.     }
  41. }