Passed
Push — master ( 1230fe...ada723 )
by Caen
03:10 queued 12s
created

ConsoleServiceProvider::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
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Hyde\Console;
6
7
use Illuminate\Support\ServiceProvider;
8
9
/**
10
 * Register the HydeCLI console commands.
11
 */
12
class ConsoleServiceProvider extends ServiceProvider
13
{
14
    public function register(): void
15
    {
16
        $this->commands([
17
            Commands\BuildRssFeedCommand::class,
18
            Commands\BuildSearchCommand::class,
19
            Commands\BuildSiteCommand::class,
20
            Commands\BuildSitemapCommand::class,
21
            Commands\RebuildStaticPageCommand::class,
22
23
            Commands\MakePageCommand::class,
24
            Commands\MakePostCommand::class,
25
26
            Commands\VendorPublishCommand::class,
27
            Commands\PublishHomepageCommand::class,
28
            Commands\PublishViewsCommand::class,
29
            Commands\UpdateConfigsCommand::class,
30
            Commands\PackageDiscoverCommand::class,
31
32
            Commands\RouteListCommand::class,
33
            Commands\ValidateCommand::class,
34
            Commands\ServeCommand::class,
35
            Commands\DebugCommand::class,
36
37
            Commands\ChangeSourceDirectoryCommand::class,
38
        ]);
39
    }
40
41
    public function boot(): void
42
    {
43
        //
44
    }
45
}
46