laravel-mail/src/BMailServiceProvider.php

36 lines
603 B
PHP
Raw Normal View History

<?php
namespace BMail;
use Illuminate\Support\ServiceProvider;
class BMailServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
$this->mergeConfigFrom(
__DIR__.'/../config/services.php',
'bmail'
);
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
$this->publishes([
__DIR__.'/../config/services.php' => config_path('services.php')
]);
}
}