var/cache/dev/ContainerQ3i0owY/getSecurity_Authentication_GuardHandlerService.php line 27

Open in your IDE?
  1. <?php
  2. namespace ContainerQ3i0owY;
  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.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Session/SessionAuthenticationStrategyInterface.php';
  21.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Session/SessionAuthenticationStrategy.php';
  22.         $instance = new \Symfony\Component\Security\Guard\GuardAuthenticatorHandler(($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()), ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()), []);
  23.         $instance->setSessionAuthenticationStrategy(($container->privates['security.authentication.session_strategy'] ?? ($container->privates['security.authentication.session_strategy'] = new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'))));
  24.         return $instance;
  25.     }
  26. }