src/Leevel/Kernel/Console/AutoloadClear.php
protected function clearCache(string $cachePath): void
    {
        if (!is_file($cachePath)) {
            $this->warn('Autoload cache files have been cleaned up.');

            return;
        }

        unlink($cachePath);
    }
protected function clearCache(string $cachePath): void
    {
        if (!is_file($cachePath)) {
            $this->warn('Autoload cache files have been cleaned up.');

            return;
        }

        unlink($cachePath);
    }
删除缓存.

@param string $cachePath