Passed
Push — master ( 17ced4...e22d77 )
by Andreas
03:26
created

SettingsServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

2 Methods

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