LaravelDB2DOCServiceProvider   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 19
rs 10
wmc 3

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 5 2
A register() 0 2 1
1
<?php
2
3
namespace CleaniqueCoders\LaravelDB2DOC;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class LaravelDB2DOCServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     */
12
    public function boot()
13
    {
14
        if ($this->app->runningInConsole()) {
15
            $this->commands([
16
                \CleaniqueCoders\LaravelDB2DOC\Console\Commands\LaravelDb2DocCommand::class,
17
            ]);
18
        }
19
    }
20
21
    /**
22
     * Register the application services.
23
     */
24
    public function register()
25
    {
26
    }
27
}
28