/** * Renew the cache prefix, save it, and notify all observers. */ function renewCachePrefix() { $this->prefix = Util::randomString(); $this->system->variableSet(XAUTOLOAD_VARNAME_CACHE_PREFIX, $this->prefix); foreach ($this->observers as $observer) { $observer->setCachePrefix($this->prefix); } }
/** * Renew the cache prefix, save it, and notify all observers. */ function renewCachePrefix() { $this->prefix = Util::randomString(); $this->system->variableSet('xautoload_cache_prefix', $this->prefix); foreach ($this->observers as $observer) { $observer->setCachePrefix($this->prefix); } }