Files
phpvms/modules/vacentral/Providers/AppServiceProvider.php
Nabeel Shahzad 6179cffc45 swap the modules
2017-12-05 21:17:16 -06:00

39 lines
694 B
PHP

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