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

CbPrivilegesServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

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

2 Methods

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