저자: Matthias Mullie (scrapbook@mullie.eu)
상속: implements MatthiasMullie\Scrapbook\KeyValueStore
예제 #1
0
파일: Redis.php 프로젝트: Circlus/scrapbook
 /**
  * Returns the version of the Redis server we're connecting to.
  *
  * @return string
  */
 protected function getVersion()
 {
     if ($this->version === null) {
         $info = $this->client->info();
         $this->version = $info['redis_version'];
     }
     return $this->version;
 }