var/cache/dev_press_site/ContainerBiyo9VX/getSession_Storage_NativeService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerBiyo9VX;
  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 App_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:RDS_USERNAME').':'.$container->getEnv('string:RDS_PASSWORD').'@'.$container->getEnv('string:RDS_HOSTNAME').':'.$container->getEnv('string:RDS_PORT').'/'.$container->getEnv('string:RDS_DB_NAME'), ['db_table' => 'sessions''db_id_col' => 'sess_id']), $container->load('getSession_Storage_MetadataBagService'));
  23.     }
  24. }