Passed
Push — master ( 284e72...816a06 )
by Iman
04:12
created

CbEmailTemplatesServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 20
c 0
b 0
f 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 2 1
A boot() 0 4 1
1
<?php
2
3
namespace crocodicstudio\crudbooster\Modules\EmailTemplates;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class CbEmailTemplatesServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        $this->app['view']->addNamespace('CbEmailTpl', __DIR__.'/views');
17
        $this->loadRoutesFrom( __DIR__.'/email_templates_routes.php');
18
    }
19
20
    /**
21
     * Register the application services.
22
     *
23
     * @return void
24
     */
25
    public function register()
26
    {
27
    }
28
}
29