Passed
Push — master ( 139939...b4b8e8 )
by Arthur
21:54 queued 17s
created

GeneratorServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: arthur
5
 * Date: 09.03.19
6
 * Time: 18:23
7
 */
8
9
namespace Foundation\Generator\Providers;
10
11
12
use Foundation\Generator\Commands\EventMakeCommand;
13
use Foundation\Generator\Commands\CommandMakeCommand;
14
use Foundation\Generator\Commands\ControllerMakeCommand;
15
use Foundation\Generator\Commands\FactoryMakeCommand;
16
use Foundation\Generator\Commands\JobMakeCommand;
17
use Foundation\Generator\Commands\ListenerMakeCommand;
18
use Illuminate\Support\ServiceProvider;
19
20
21
class GeneratorServiceProvider extends ServiceProvider
22
{
23
24
    protected $commands = [
25
        FactoryMakeCommand::class,
26
        CommandMakeCommand::class,
27
        ControllerMakeCommand::class,
28
        EventMakeCommand::class,
29
        JobMakeCommand::class,
30
        ListenerMakeCommand::class
31
    ];
32
33
    /**
34
     * Boot the application events.
35
     *
36
     * @return void
37
     */
38
    public function boot()
39
    {
40
    }
41
42
    /**
43
     * Register the service provider.
44
     *
45
     * @return void
46
     */
47
    public function register()
48
    {
49
        $this->commands($this->commands);
50
    }
51
}
52