Nahid\Talk\TalkServiceProvider::setupConfig PHP Метод

setupConfig() защищенный Метод

Setup the config.
protected setupConfig ( )
    protected function setupConfig()
    {
        $source = realpath(__DIR__ . '/../config/talk.php');
        // Check if the application is a Laravel OR Lumen instance to properly merge the configuration file.
        if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
            $this->publishes([$source => config_path('talk.php')]);
        } elseif ($this->app instanceof LumenApplication) {
            $this->app->configure('talk');
        }
        $this->mergeConfigFrom($source, 'talk');
    }