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

ToolbeltServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 10
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 11 2
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