<?php
namespace ContainerK2Wjmxr;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSession_Storage_NativeService extends KernelDevDebugContainer
{
/**
* Gets the private 'session.storage.native' shared service.
*
* @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
*
* @deprecated Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
*/
public static function do($container, $lazyLoad = true)
{
trigger_deprecation('symfony/framework-bundle', '5.3', 'The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.');
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php';
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'));
}
}