/**
  *
  * @author: De-Wu Zeng <*****@*****.**>
  * @return \KVDataAccessLayer\Cache\CacheInterface
  */
 public function cache()
 {
     $user_profile_cache_config = ConfigureCenter::singleton()->get('kvdal.user_profile_cache');
     if (!self::$cache) {
         self::$cache = ConnectionManager::singleton()->mem($user_profile_cache_config);
     }
     return self::$cache;
 }
 public function pdos()
 {
     if (self::$pdos === array()) {
         $user_profile_lbdb_config = ConfigureCenter::singleton()->get('kvdal.user_profile_lbdb');
         self::$pdos = ConnectionManager::singleton()->pdos($user_profile_lbdb_config);
     }
     return self::$pdos;
 }
 public function testInstance()
 {
     $instance = ConfigureCenter::singleton();
     $this->assertTrue(is_a($instance, 'KVDataAccessLayer\\Configure\\ConfigureCenter'));
 }