library/ShopStateBackup.php
public function backupRegistry()
    {
        $this->registryCache = array();
        foreach (\OxidEsales\Eshop\Core\Registry::getKeys() as $class) {
            $instance = \OxidEsales\Eshop\Core\Registry::get($class);
            $this->registryCache[$class] = clone $instance;
        }
    }
public function backupRegistry()
    {
        $this->registryCache = array();
        foreach (\OxidEsales\Eshop\Core\Registry::getKeys() as $class) {
            $instance = \OxidEsales\Eshop\Core\Registry::get($class);
            $this->registryCache[$class] = clone $instance;
        }
    }
public function backupRegistry ( ) { $ this -> registryCache = array ( ) ; foreach ( \ OxidEsales \ Eshop \ Core \ Registry :: getKeys ( ) as $ class ) { $ instance = \ OxidEsales \ Eshop \ Core \ Registry :: get ( $ class ) ; $ this -> registryCache [ $ class ] = clone $ instance ; } }
Creates registry clone
Creates registry clone