swap the modules

This commit is contained in:
Nabeel Shahzad
2017-12-05 21:17:16 -06:00
parent 0293346713
commit 6179cffc45
19 changed files with 87 additions and 382 deletions

View File

@@ -0,0 +1,38 @@
<?php
namespace Modules\Vacentral\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Boot the application events.
*/
public function boot()
{
$this->registerConfig();
}
/**
* Register the service provider.
*/
public function register()
{
//
}
/**
* Register config.
*/
protected function registerConfig()
{
$this->publishes([
__DIR__.'/../Config/config.php' => config_path('vacentral.php'),
], 'config');
$this->mergeConfigFrom(
__DIR__.'/../Config/config.php', 'vacentral'
);
}
}