public function delete($key) { $file = $this->cachePath . md5($this->prefix . '-' . $key) . ".cache"; if (file_exists($file)) { @unlink($file); } }