SteamAppGrabber::fire()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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