tagName = get_class($this); } /** * @notes 重写父类set,自动打上标签 * @param string $key * @param mixed $value * @param null $ttl * @return bool * @author 段誉 * @date 2021/12/27 14:16 */ public function set($key, $value, $ttl = null): bool { return $this->store()->tag($this->tagName)->set($key, $value, $ttl); } /** * @notes 清除缓存类所有缓存 * @return bool * @author 段誉 * @date 2021/12/27 14:16 */ public function deleteTag(): bool { return $this->tag($this->tagName)->clear(); } }