think\cache\driver\Memcached::rm PHP Méthode

rm() public méthode

删除缓存
public rm ( string $name, boolean | false $ttl = false ) : boolean
$name string 缓存变量名
$ttl boolean | false
Résultat boolean
    public function rm($name, $ttl = false)
    {
        $key = $this->getCacheKey($name);
        return false === $ttl ? $this->handler->delete($key) : $this->handler->delete($key, $ttl);
    }