PipeServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 14
ccs 0
cts 10
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A boot() 0 6 1
1
<?php
2
3
namespace Zenapply\Pipe;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class PipeServiceProvider extends ServiceProvider
8
{
9
    public function register()
10
    {
11
        $this->mergeConfigFrom(__DIR__.'/../config/pipe.php', 'pipe');
12
    }
13
14
    public function boot()
15
    {
16
        $this->publishes([
17
            __DIR__.'/../config/pipe.php' => base_path('config/pipe.php'),
18
        ]);
19
    }
20
}
21