예제 #1
0
파일: VCache.php 프로젝트: mikejw/elib-base
 public function __construct($host, $port, $driver_name = null, $enabled = true)
 {
     $this->enabled = $enabled;
     $this->driver = DriverManager::load($host, $port, $driver_name);
     $this->keys = null;
     $this->keys_key = 'keys';
 }
예제 #2
0
 public function __construct($host, $port, $driver_name = null)
 {
     $this->driver = DriverManager::load($host, $port, $driver_name);
 }