Example #1
0
 public function testCache_forgeの戻りインスタンスが異なる()
 {
     $this->assertNotEquals($this->instance1, Cache::forge());
 }
Example #2
0
 /**
  * Get Cache_Lite object.
  *
  * @return Cache_Lite
  */
 public static function getInstance()
 {
     is_null(Cache::$_instance) and Cache::forge();
     return Cache::$_instance;
 }