var/cache/dev/ContainerXqPVELs/getSession_Storage_NativeService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerXqPVELs;
  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 getSession_Storage_NativeService extends Whater_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'session.storage.native' shared service.
  12. *
  13. * @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
  14. *
  15. * @deprecated Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
  16. */
  17. public static function do($container, $lazyLoad = true)
  18. {
  19. trigger_deprecation('symfony/framework-bundle', '5.3', 'The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.');
  20. include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php';
  21. include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/Session/Storage/Handler/RedisSessionHandler.php';
  22. return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage($container->parameters['session.storage.options'], new \Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler(($container->privates['snc_redis.session'] ?? $container->load('getSncRedis_SessionService'))), $container->load('getSession_Storage_MetadataBagService'));
  23. }
  24. }