src/Leevel/Cache/File.php
public function delete(string $name): void
    {
        $cachePath = $this->getCachePath($name);

        if ($this->exist($name)) {
            unlink($cachePath);
        }
    }
public function delete(string $name): void
    {
        $cachePath = $this->getCachePath($name);

        if ($this->exist($name)) {
            unlink($cachePath);
        }
    }
清除缓存.

@param string $name