2020-04-09 12:55:07 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
namespace BMail;
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
|
|
|
|
class BMailServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Register any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
|
|
|
$this->mergeConfigFrom(
|
2020-04-09 17:29:07 +02:00
|
|
|
__DIR__ . '/../config/bmail.php',
|
2020-04-09 17:21:16 +02:00
|
|
|
'services'
|
2020-04-09 12:55:07 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
$this->publishes([
|
2020-04-09 17:29:07 +02:00
|
|
|
__DIR__ . '/../config/bmail.php' => config_path('services.php')
|
2020-04-09 16:45:39 +02:00
|
|
|
], 'config');
|
2020-04-09 12:55:07 +02:00
|
|
|
}
|
|
|
|
}
|