예제 #1
0
파일: Rediss.php 프로젝트: fifths/lit
 public static function init()
 {
     self::$redis = new Client(require BASE_PATH . self::CONFIG_FILE);
 }
예제 #2
0
 public function test()
 {
     Rediss::set('key', 'value', 10, 's');
     echo Rediss::get('key');
 }