<?php
namespace Claromentis\Core\Session;

$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] ?: array()) + array("_f73dab606630b388645c4f7d3fbb" . "13bb" => base64_decode("YXJyYXlf" . "bWVyZ2U="), "_34aca48e9" . "acc6ce3382" . "121bf75527" . "4a4" => base64_decode("c2Vzc" . "2lvbl" . "9yZXN" . "ldA=="), "attri" . "butes" => base64_decode("YXR0cmli" . "dXRlcw=="));
use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler;
use Symfony\Component\HttpFoundation\Session\Storage\MetadataBag;
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
use Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy;
use Symfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy;
use Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy;










class PhpLegacyBridgeSessionStorage extends NativeSessionStorage
{
    
    
    
    
    
    
    
    
    
    
    
    protected function loadSession(array &$session = null)
    {
        if (null === $session) {
            $session =& $_SESSION;
        }
        $_cd9bb09c0d2b4b32f4c83c62083c8357 = $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_f73dab606630b388645c" . "4f7d3fbb13bb"]($this->bags, array($this->metadataBag));
        
        
        foreach ($_cd9bb09c0d2b4b32f4c83c62083c8357 as $_aa85d70476fc85ae53687b5e6df08072) {
            $key = $_aa85d70476fc85ae53687b5e6df08072->getStorageKey();
            $session[$key] = isset($session[$key]) ? $session[$key] : array();
            if ($_aa85d70476fc85ae53687b5e6df08072->getName() == $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["att" . "rib" . "ute" . "s"]) {
                $_aa85d70476fc85ae53687b5e6df08072->initialize($session);
            } else {
                $_aa85d70476fc85ae53687b5e6df08072->initialize($session[$key]);
            }
        }
        $this->started = true;
        $this->closed = false;
    }
    
    
    
    
    public function reset()
    {
        if ($this->isStarted()) {
            $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_34aca48e9acc6ce3382" . "121bf755274a4"]();
            $this->loadSession();
        }
    }
}