/** * Clear local cache (process memory cache) * */ protected static function LocalClear() { self::$localCache = array(); }
protected static function LocalSet($key, $value = null) { if (!is_array($key)) { $key = array($key => $value); } self::$localCache = array_merge(self::$localCache, $key); }