var/cache/dev/ContainerK2Wjmxr/getSession_Storage_NativeService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerK2Wjmxr;
  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 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/PdoSessionHandler.php';
  22.         return $container->privates['session.storage.native'] = new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage($container->parameters['session.storage.options'], new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler('mysql://'.$container->getEnv('string:DB_USER').':'.$container->getEnv('string:DB_PASSWORD').'@'.$container->getEnv('string:DB_HOST').':'.$container->getEnv('string:DB_PORT').'/'.$container->getEnv('string:DB_NAME').'?serverVersion='.$container->getEnv('string:DB_SERVER_VERSION'), ['db_table' => 'sessions_ng''db_id_col' => 'session_id''db_data_col' => 'session_data''db_time_col' => 'session_time''db_lifetime_col' => 'session_lifetime''lock_mode' => 1]), $container->load('getSession_Storage_MetadataBagService'));
  23.     }
  24. }