LaravelDB2DOCServiceProvider::boot()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
eloc 3
c 1
b 0
f 0
nc 2
nop 0
dl 0
loc 5
rs 10
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