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);
        }
    }
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);
        }
    }
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 ) ; } }
Updates any class names that appear in configs

@param string $currName The current application name
@param string $newName The new application name
Updates any class names that appear in configs