Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\HttpFoundation\Session\Storage\Proxy; Chris@0: Chris@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); Chris@14: Chris@0: /** Chris@14: * This proxy is built-in session handlers in PHP 5.3.x. Chris@0: * Chris@14: * @deprecated since version 3.4, to be removed in 4.0. Use your session handler implementation directly. Chris@0: * Chris@0: * @author Drak Chris@0: */ Chris@0: class NativeProxy extends AbstractProxy Chris@0: { Chris@0: public function __construct() Chris@0: { Chris@0: // this makes an educated guess as to what the handler is since it should already be set. Chris@0: $this->saveHandlerName = ini_get('session.save_handler'); Chris@0: } Chris@0: Chris@0: /** Chris@0: * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. Chris@0: * Chris@0: * @return bool False Chris@0: */ Chris@0: public function isWrapper() Chris@0: { Chris@0: return false; Chris@0: } Chris@0: }