laravel-mail/src/BMailServiceProvider.php

36 lines
611 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(
2020-04-09 17:29:07 +02:00
__DIR__ . '/../config/bmail.php',
2020-04-09 17:31:43 +02:00
'bmail'
);
}
/**
* 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');
}
}