var/cache/dev/ContainerE1WJT3U/getSession_FactoryService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerE1WJT3U;
  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_FactoryService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'session.factory' shared service.
  12.      *
  13.      * @return \Symfony\Component\HttpFoundation\Session\SessionFactory
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/SessionFactoryInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/SessionFactory.php';
  19.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/Storage/SessionStorageFactoryInterface.php';
  20.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorageFactory.php';
  21.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php';
  22.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/Storage/Handler/RedisSessionHandler.php';
  23.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/SessionBagInterface.php';
  24.         include_once \dirname(__DIR__4).'/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php';
  25.         $a = ($container->privates['session_listener'] ?? $container->getSessionListenerService());
  26.         if (isset($container->privates['session.factory'])) {
  27.             return $container->privates['session.factory'];
  28.         }
  29.         return $container->privates['session.factory'] = new \Symfony\Component\HttpFoundation\Session\SessionFactory(($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorageFactory($container->parameters['session.storage.options'], new \Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler(\Symfony\Component\Cache\Traits\RedisTrait::createConnection($container->getEnv('REDIS_URL')), ['prefix' => 'artenix_session''ttl' => $container->getEnv('SITE_SESSION_TTL')]), new \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag('_sf2_meta'0), true), [=> $a=> 'onSessionUsage']);
  30.     }
  31. }