ProxyHealthCheckCommand::getOptions()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Modules\Proxy\Console;
4
5
use Illuminate\Console\Command;
6
use Symfony\Component\Console\Input\InputArgument;
7
use Symfony\Component\Console\Input\InputOption;
8
9
class ProxyHealthCheckCommand extends Command
10
{
11
    /**
12
     * The console command name.
13
     *
14
     * @var string
15
     */
16
    protected $name = 'proxy:proxyhealthcheckcommand';
17
18
    /**
19
     * The console command description.
20
     *
21
     * @var string
22
     */
23
    protected $description = 'Command description.';
24
25
    /**
26
     * Create a new command instance.
27
     *
28
     * @return void
29
     */
30 26
    public function __construct()
31
    {
32 26
        parent::__construct();
33 26
    }
34
35
    /**
36
     * Execute the console command.
37
     *
38
     * @return mixed
39
     */
40
    public function handle()
41
    {
42
        //
43
    }
44
45
    /**
46
     * Get the console command arguments.
47
     *
48
     * @return array
49
     */
50 26
    protected function getArguments()
51
    {
52
        return [
53 26
            ['example', InputArgument::REQUIRED, 'An example argument.'],
54
        ];
55
    }
56
57
    /**
58
     * Get the console command options.
59
     *
60
     * @return array
61
     */
62 26
    protected function getOptions()
63
    {
64
        return [
65 26
            ['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null],
66
        ];
67
    }
68
}
69