SecurityServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 17
ccs 5
cts 5
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 9 1
1
<?php
2
3
namespace Distilleries\Security;
4
5
class SecurityServiceProvider extends \Illuminate\Support\ServiceProvider
6
{
7
8
    /**
9
     * Bootstrap the application events.
10
     *
11
     * @return void
12
     */
13 36
    public function boot()
14
    {
15
16 36
        $this->publishes([
17 36
            __DIR__.'/../../config/config.php'    => config_path('security.php'),
18
        ]);
19
20 36
        $this->mergeConfigFrom(
21 36
            __DIR__.'/../../config/config.php', 'security'
22
        );
23
24
25
    }
26
27
}