phprs\util\FileCache::del PHP Method

del() public method

删除key
public del ( string $key ) : boolean
$key string
return boolean Returns true on success or false on failure.
    public function del($key)
    {
        $path = $this->cache_dir . '/' . sha1($key);
        return @unlink($path);
    }