1 | <?php |
||
10 | class Vi extends Command |
||
11 | { |
||
12 | /** |
||
13 | * The console command name. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $name = 'vi'; |
||
18 | |||
19 | /** |
||
20 | * The console command description. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $description = 'Vi Editor'; |
||
25 | |||
26 | /** |
||
27 | * $files. |
||
28 | * |
||
29 | * @var \Illuminate\Filesystem\Filesystem |
||
30 | */ |
||
31 | protected $files; |
||
32 | |||
33 | /** |
||
34 | * __construct. |
||
35 | * |
||
36 | * @param \Illuminate\Filesystem\Filesystem $files |
||
37 | */ |
||
38 | 2 | public function __construct(Filesystem $files) |
|
44 | |||
45 | /** |
||
46 | * Handle the command. |
||
47 | * |
||
48 | 2 | * @throws \InvalidArgumentException |
|
49 | */ |
||
50 | 2 | public function handle() |
|
63 | |||
64 | /** |
||
65 | * Get the console command arguments. |
||
66 | * |
||
67 | 2 | * @return array |
|
68 | */ |
||
69 | protected function getArguments() |
||
75 | |||
76 | /** |
||
77 | * Get the console command options. |
||
78 | * |
||
79 | 2 | * @return array |
|
80 | */ |
||
81 | protected function getOptions() |
||
87 | } |
||
88 |