Completed
Pull Request — master (#94)
by
unknown
12:13
created

EloquentSortableServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Spatie\EloquentSortable;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class EloquentSortableServiceProvider extends ServiceProvider
8
{
9
    public function boot()
10
    {
11
        $this->publishes([
12
            __DIR__.'/../config/eloquent-sortable.php' => config_path('eloquent-sortable.php'),
13
        ], 'config');
14
15
        $this->mergeConfigFrom(__DIR__.'/../config/eloquent-sortable.php', 'eloquent-sortable');
16
    }
17
}
18