Passed
Push — master ( dbfecf...07f9ad )
by Antonio Carlos
02:06
created

HealthPanelCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 24
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
3
namespace PragmaRX\Health\Console\Commands;
4
5
use PragmaRX\Health\Commands;
6
use Illuminate\Console\Command;
7
8
class HealthPanelCommand extends Command
9
{
10
    /**
11
     * The console command name.
12
     *
13
     * @var string
14
     */
15
    protected $name = 'health:panel';
16
17
    /**
18
     * The console command description.
19
     *
20
     * @var string
21
     */
22
    protected $description = 'Show all resources and their current health states.';
23
24
    /**
25
     * @return void
26
     */
27
    public function handle(Commands $commands): void
28
    {
29
        $commands->panel($this);
30
    }
31
}
32