ServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 9 1
A register() 0 2 1
1
<?php
2
3
namespace Cion\LaravelLogReader;
4
5
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
6
7
class ServiceProvider extends BaseServiceProvider
8
{
9
    public function boot()
10
    {
11
        $this->loadViewsFrom(__DIR__.'/views', 'logreader');
12
13
        $this->loadRoutesFrom(__DIR__.'/routes.php');
14
15
        $this->publishes([
16
            __DIR__.'/config.php' => config_path('logreader.php'),
17
        ], 'config');
18
    }
19
20
    public function register()
21
    {
22
        //
23
    }
24
}
25