src/Core/Console/PluginInstallCommand.php
protected function setProviders(string $name, array $headers)
    {
        $this->info('Set default route provider...');

        $this->replaceFileContent(
            $this->path($name.'/resources/Providers/RouteServiceProvider.php'),
            $headers
        );
    }
protected function setProviders(string $name, array $headers)
    {
        $this->info('Set default route provider...');

        $this->replaceFileContent(
            $this->path($name.'/resources/Providers/RouteServiceProvider.php'),
            $headers
        );
    }
protected function setProviders ( string $ name , array $ headers ) { $ this -> info ( 'Set default route provider...' ) ; $ this -> replaceFileContent ( $ this -> path ( $ name . '/resources/Providers/RouteServiceProvider.php' ) , $ headers ) ; }
Set the content of default route provider.

@param string $name
@param array  $headers

@throws \Illuminate\Contracts\Filesystem\FileNotFoundException
Set the content of default route provider .