PipeServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
ccs 0
cts 6
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
crap 2
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