예제 #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;
 }