Lines Matching refs:key
30 public function has($key) argument
32 if ($this->cache->has($key)) {
33 if (time() < $this->cache->get($key.'.expires')) {
37 $this->cache->remove($key.'.expires');
38 $this->cache->remove($key);
44 public function get($key) argument
46 return $this->cache->get($key);
49 public function set($key, $value) argument
51 $this->cache->set($key.'.expires', time() + $this->lifetime);
52 $this->cache->set($key, $value);
55 public function remove($key) argument
57 $this->cache->remove($key.'.expires');
58 $this->cache->remove($key);