ConsolifyServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 3 1
A boot() 0 4 1
1
<?php
2
3
namespace Tequilarapido\Consolify;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ConsolifyServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application events.
11
     */
12
    public function boot()
13
    {
14
        $this->publishes([
15
            __DIR__.'/../config/consolify.php' => config_path('consolify.php'),
16
        ]);
17
    }
18
19
    /**
20
     * Register the service provider.
21
     */
22
    public function register()
23
    {
24
        $this->mergeConfigFrom(__DIR__.'/../config/consolify.php', 'consolify');
25
26
        // ...
27
    }
28
}
29