Passed
Push — master ( 62919d...1f65fa )
by Iman
04:23
created

CbFileManagerServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 20
rs 10
c 0
b 0
f 0
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\FileManagerModule;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class CbFileManagerServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        $this->app['view']->addNamespace('CbFileManager', __DIR__.'/views');
17
        $this->loadRoutesFrom( __DIR__.'/file_manager_routes.php');
18
    }
19
20
    /**
21
     * Register the application services.
22
     *
23
     * @return void
24
     */
25
    public function register()
26
    {
27
    }
28
}
29