TailwindCssServiceProvider::boot()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
nc 2
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php namespace Cloudtux\TailwindCss;
2
3
use Illuminate\Support\ServiceProvider;
4
5
class TailwindCssServiceProvider extends ServiceProvider
6
{
7
8
    public function boot()
9
    {
10
11
        if ($this->app->runningInConsole()) {
12
            $this->commands([
13
                                \Cloudtux\TailwindCss\console\InstallTailwindCss::class
14
                            ]);
15
        }
16
17
    }
18
19
    public function register()
20
    {
21
22
    }
23
}
24