Irazasyed\LaravelGAMP\LaravelGAMPServiceProvider::setupConfig PHP Method

setupConfig() protected method

Setup the config.
protected setupConfig ( Illuminate\Contracts\Container\Container $app )
$app Illuminate\Contracts\Container\Container
    protected function setupConfig(Application $app)
    {
        $source = __DIR__ . '/config/gamp.php';
        if ($app instanceof LaravelApplication && $app->runningInConsole()) {
            $this->publishes([$source => config_path('gamp.php')]);
        } elseif ($app instanceof LumenApplication) {
            $app->configure('gamp');
        }
        $this->mergeConfigFrom($source, 'gamp');
    }