Ejemplo n.º 1
0
/*
 * This file is part of the core framework.
 *
 * (c) James Cleveland <*****@*****.**>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */
namespace Core\Session\RemoteStorage;

import('core.session.remote_storage.exceptions');
import('core.session.interfaces');
import('core.dependency');
import('core.types');
\Core\Dependency::require_classes('\\PDO');
\Core\Dependency::require_functions('json_encode', 'json_decode');
class PDO extends \Core\Dict implements \Core\Session\RemoteStorage
{
    /**
     * Untrusted session details.
     */
    private $untrusted = array();
    /**
     * Actual trusted session details.
     */
    private $actual = array();
    /**
     * Found session
     */
    private $found_session;