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

Open in your IDE?
  1. <?php
  2. namespace ContainerPiDxz9y;
  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 new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage($container->parameters['session.storage.options'], ($container->privates['Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler'] ?? ($container->privates['Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler'] = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler($container->getEnv('DATABASE_URL')))), $container->load('getSession_Storage_MetadataBagService'));
  23.     }
  24. }