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