var/cache/dev/ContainerTXC64yd/getSecurity_Authentication_GuardHandlerService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerTXC64yd;
  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_GuardHandlerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.authentication.guard_handler' shared service.
  12.      *
  13.      * @return \Symfony\Component\Security\Guard\GuardAuthenticatorHandler
  14.      *
  15.      * @deprecated Since symfony/security-bundle 5.3: The "security.authentication.guard_handler" 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.guard_handler" service is deprecated, use the new authenticator system instead.');
  20.         $a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  21.         if (isset($container->privates['security.authentication.guard_handler'])) {
  22.             return $container->privates['security.authentication.guard_handler'];
  23.         }
  24.         $container->privates['security.authentication.guard_handler'] = $instance = new \Symfony\Component\Security\Guard\GuardAuthenticatorHandler(($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()), $a, []);
  25.         $instance->setSessionAuthenticationStrategy(($container->privates['security.authentication.session_strategy'] ?? $container->load('getSecurity_Authentication_SessionStrategyService')));
  26.         return $instance;
  27.     }
  28. }