private function copyConfigFile()
    {
        $path = $this->getConfigPath();

        // if generatords config already exist
        if ($this->files->exists($path) && $this->option('force') === false) {
            $this->error("{$path} already exists! Run 'generate:publish-stubs --force' to override the config file.");
            die;
        }

        File::copy(__DIR__ . '/../config/config.php', $path);
    }
private function copyConfigFile()
    {
        $path = $this->getConfigPath();

        // if generatords config already exist
        if ($this->files->exists($path) && $this->option('force') === false) {
            $this->error("{$path} already exists! Run 'generate:publish-stubs --force' to override the config file.");
            die;
        }

        File::copy(__DIR__ . '/../config/config.php', $path);
    }
private function copyConfigFile ( ) { $ path = $ this -> getConfigPath ( ) ; // if generatords config already exist if ( $ this -> files -> exists ( $ path ) && $ this -> option ( 'force' ) === false ) { $ this -> error ( "{$path} already exists! Run 'generate:publish-stubs --force' to override the config file." ) ; die ; } File :: copy ( __DIR__ . '/../config/config.php' , $ path ) ; }
Copy the config file to the default config folder
Copy the config file to the default config folder