Completed
Push — master ( 06f997...84d5d5 )
by Vladimir
03:43
created

ToolbeltServiceProvider::boot()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 11
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 11
rs 9.9666
c 0
b 0
f 0
cc 2
nc 2
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FondBot\Console;
6
7
use Illuminate\Support\ServiceProvider;
8
9
class ToolbeltServiceProvider extends ServiceProvider
10
{
11
    /**
12
     * Define toolbelt commands.
13
     */
14
    public function boot(): void
15
    {
16
        if ($this->app->runningInConsole()) {
17
            $this->commands([
18
                MakeIntentCommand::class,
19
                MakeInteractionCommand::class,
20
                MakeActivatorCommand::class,
21
                ListDriversCommand::class,
22
                InstallDriverCommand::class,
23
                ListChannelsCommand::class,
24
                ListIntentsCommand::class,
25
            ]);
26
        }
27
    }
28
}
29