Passed
Push — dev5 ( df64bd...8206b9 )
by Ron
07:37
created

ModuleServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 23
ccs 6
cts 6
cp 1
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
A register() 0 2 1
1
<?php
2
3
namespace App\Providers;
4
5
use Illuminate\Support\Facades\View;
6
use Illuminate\Support\ServiceProvider;
7
8
class ModuleServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Register services.
12
     *
13
     * @return void
14
     */
15 662
    public function register()
16
    {
17
        //
18 662
    }
19
20
    /**
21
     * Bootstrap services.
22
     *
23
     * @return void
24
     */
25 662
    public function boot()
26
    {
27
        //
28 662
        View::composer(
29 662
            'layouts.app',
30 662
            'App\Http\View\Composers\ModuleComposer'
31
        );
32 662
    }
33
}
34