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