Completed
Pull Request — Laravel4 (#36)
by
unknown
10:35
created

SteamAppGrabber::getOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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