Modifying provider

This commit is contained in:
Loann 2020-04-09 17:21:16 +02:00
parent a3e74da992
commit 60ad613ca3
2 changed files with 13 additions and 5 deletions

View File

@ -23,8 +23,16 @@ and
] ]
``` ```
Then update your file : Then update your package file :
```bash ```bash
composer update composer update bluescale/laravel-mail
``` ```
Finally publish the assets from your provider :
```bash
php artisan vendor:publish
```

View File

@ -16,8 +16,8 @@ class BMailServiceProvider extends ServiceProvider
public function register() public function register()
{ {
$this->mergeConfigFrom( $this->mergeConfigFrom(
__DIR__.'/../config/services.php', __DIR__ . '/../config/services.php',
'bmail' 'services'
); );
} }
@ -29,7 +29,7 @@ class BMailServiceProvider extends ServiceProvider
public function boot() public function boot()
{ {
$this->publishes([ $this->publishes([
__DIR__.'/../config/services.php' => config_path('services.php') __DIR__ . '/../config/services.php' => config_path('services.php')
], 'config'); ], 'config');
} }
} }