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

CbAuthServiceProvider   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\AuthModule;
4
5
use Illuminate\Support\ServiceProvider;
6
use Illuminate\Foundation\AliasLoader;
7
8
class CbAuthServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Bootstrap the application services.
12
     *
13
     * @return void
14
     */
15
    public function boot()
16
    {
17
        $this->app['view']->addNamespace('CbAuth', __DIR__.'/views');
18
        $this->loadRoutesFrom( __DIR__.'/auth_routes.php');
19
    }
20
21
    /**
22
     * Register the application services.
23
     *
24
     * @return void
25
     */
26
    public function register()
27
    {
28
    }
29
}
30