-
Notifications
You must be signed in to change notification settings - Fork 54
/
EmailTemplatesServiceProvider.php
49 lines (40 loc) · 1.22 KB
/
EmailTemplatesServiceProvider.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
namespace Pleb;
use Illuminate\Support\ServiceProvider;
class EmailTemplatesServiceProvider extends ServiceProvider
{
/**
* Boot the application services.
*
* @return void
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/config/pleb.php' => $this->app->configPath('pleb.php'),
], 'pleb-email-templates-config');
$this->publishes([
__DIR__.'/resources/views' => $this->app->resourcePath('views/vendor'),
], 'pleb-email-templates-views');
$this->publishes([
__DIR__.'/resources/lang/en' => $this->app->resourcePath('lang/en'),
], 'pleb-email-templates-lang');
$this->publishes([
__DIR__.'/public/assets/img' => $this->app->basePath('public/assets/img'),
], 'pleb-email-templates-img');
$this->publishes([
__DIR__.'/app/Mail' => $this->app->basePath('app/Mail'),
], 'pleb-email-templates-app');
}
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
//
}
}