Passed
Push — master ( 4e5773...bb2f77 )
by Samson
03:25
created

ScopeMakeCommandServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 2
ccs 1
cts 1
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace SamAsEnd\ScopeMake;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ScopeMakeCommandServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     *
12
     * @return void
13
     */
14 1
    public function boot()
15
    {
16
        //
17 1
    }
18
19
    /**
20
     * Register the application services.
21
     *
22
     * @return void
23
     */
24 1
    public function register()
25
    {
26 1
        $this->registerCommands();
27 1
    }
28
29 1
    protected function registerCommands(): void
30
    {
31 1
        $this->commands([
32 1
            ScopeMakeCommand::class,
33
        ]);
34 1
    }
35
}
36