示例#1
0
 public function __construct(\Memcache $memcache, $default_ttl)
 {
     parent::__construct($default_ttl);
     $this->instance = $memcache;
 }
示例#2
0
文件: File.php 项目: mlntn/omni-cache
 public function __construct($path, $ttl)
 {
     parent::__construct($ttl);
     $this->path = $path;
 }