public function replace($key, $value, $expire = 0) { $cache = end($this->transactions); return $cache->replace($key, $value, $expire); }