think\cache\driver\Memcached::clear PHP Method

clear() public method

清除缓存
public clear ( string $tag = null ) : boolean
$tag string 标签名
return boolean
    public function clear($tag = null)
    {
        if ($tag) {
            // 指定标签清除
            $keys = $this->getTagItem($tag);
            $this->handler->deleteMulti($keys);
            $this->rm('tag_' . md5($tag));
            return true;
        }
        return $this->handler->flush();
    }