Passed
Push — master ( 0f4397...47e32a )
by Tobias
04:12
created

HelperServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 7
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace TobyMaxham\Helper;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class HelperServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register services.
11
     */
12
    public function register()
13
    {
14
    }
15
16
    /**
17
     * Bootstrap services.
18
     */
19
    public function boot()
20
    {
21
        $this->publishes([
22
            __DIR__.'/../config/tma-helper.php' => config_path('tma-helper.php'),
23
        ], 'config');
24
25
        $this->mergeConfigFrom(__DIR__.'/../config/tma-helper.php', 'tma-helper');
26
    }
27
}
28