ServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
1
<?php namespace Cviebrock\EloquentLoggable;
2
3
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
4
5
6
class ServiceProvider extends BaseServiceProvider
7
{
8
9
    /**
10
     * Bootstrap the application events.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        $this->publishes([
17
            __DIR__ . '/../resources/config/loggable.php' => config_path('loggable.php'),
18
        ], 'config');
19
    }
20
}
21