protected function updateConfigs(string $currName, string $newName)
    {
        $configFiles = $this->fileSystem->getFiles(Config::get('paths', 'config'), true);

        foreach ($configFiles as $file) {
            $currentContents = $this->fileSystem->read($file);
            $updatedContents = str_replace(
                "$currName\\",
                "$newName\\",
                $currentContents
            );
            $this->fileSystem->write($file, $updatedContents);
        }
    }