Files
phpvms/modules/vacentral/Providers/AppServiceProvider.php
2017-12-05 21:09:17 -06:00

40 lines
736 B
PHP

<?php
namespace Modules\Vacentral\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Database\Eloquent\Factory;
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'
);
}
}