public function remove($key) { unset($this->locks[$key]); $this->delete($this->getCacheFile($key)); }