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');
}