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

HelperServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 5
c 1
b 0
f 0
dl 0
loc 19
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 7 1
A register() 0 2 1
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