TraitConsoleServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

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

2 Methods

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