@@ 49-58 (lines=10) @@ | ||
46 | * |
|
47 | * @return array |
|
48 | */ |
|
49 | public function getOptions() |
|
50 | { |
|
51 | return array_merge( |
|
52 | parent::getOptions(), |
|
53 | [ |
|
54 | ['addon', null, InputOption::VALUE_OPTIONAL, 'The addon to reset migrations for.'], |
|
55 | ['path', null, InputOption::VALUE_OPTIONAL, 'The path to migrations to reset.'], |
|
56 | ] |
|
57 | ); |
|
58 | } |
|
59 | } |
|
60 |
@@ 104-113 (lines=10) @@ | ||
101 | * |
|
102 | * @return array |
|
103 | */ |
|
104 | protected function getOptions() |
|
105 | { |
|
106 | return array_merge( |
|
107 | parent::getOptions(), |
|
108 | [ |
|
109 | ['stream', null, InputOption::VALUE_OPTIONAL, 'The stream slug.'], |
|
110 | ['shared', null, InputOption::VALUE_NONE, 'Indicates if the addon should be created in shared addons.'], |
|
111 | ] |
|
112 | ); |
|
113 | } |
|
114 | ||
115 | /** |
|
116 | * Get the console command arguments. |