4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpFoundation\Session\Storage\Proxy;
14 @trigger_error('The '.__NAMESPACE__.'\NativeProxy class is deprecated since Symfony 3.4 and will be removed in 4.0. Use your session handler implementation directly.', E_USER_DEPRECATED);
17 * This proxy is built-in session handlers in PHP 5.3.x.
19 * @deprecated since version 3.4, to be removed in 4.0. Use your session handler implementation directly.
21 * @author Drak <drak@zikula.org>
23 class NativeProxy extends AbstractProxy
25 public function __construct()
27 // this makes an educated guess as to what the handler is since it should already be set.
28 $this->saveHandlerName = ini_get('session.save_handler');
32 * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
36 public function isWrapper()