FollowServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 4
Bugs 0 Features 0
Metric Value
cc 1
eloc 6
c 4
b 0
f 0
nc 1
nop 0
dl 0
loc 9
rs 10
1
<?php
2
3
namespace Overtrue\LaravelFollow;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class FollowServiceProvider extends ServiceProvider
8
{
9
    public function boot()
10
    {
11
        $this->publishes([
12
            \dirname(__DIR__) . '/config/follow.php' => config_path('follow.php'),
13
        ], 'config');
14
15
        $this->publishes([
16
            \dirname(__DIR__) . '/migrations/' => database_path('migrations'),
17
        ], 'migrations');
18
    }
19
}
20