@@ -23,35 +23,6 @@ public function getFirstArgument()
2323 return $ this ->firstArgument ;
2424 }
2525
26- /**
27- * Returns true if the raw parameters (not parsed) contain a value.
28- *
29- * This method is to be used to introspect the input parameters
30- * before they have been validated. It must be used carefully.
31- *
32- * @param string|array $values The values to look for in the raw parameters (can be an array)
33- *
34- * @return bool true if the value is contained in the raw parameters
35- */
36- public function hasParameterOption ($ values )
37- {
38- }
39-
40- /**
41- * Returns the value of a raw option (not parsed).
42- *
43- * This method is to be used to introspect the input parameters
44- * before they have been validated. It must be used carefully.
45- *
46- * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
47- * @param mixed $default The default value to return if no result is found
48- *
49- * @return mixed The option value
50- */
51- public function getParameterOption ($ values , $ default = false )
52- {
53- }
54-
5526 /**
5627 * Binds the current Input instance with the given arguments and options.
5728 *
@@ -183,4 +154,35 @@ public function setFirstArgument($firstArgument)
183154 {
184155 $ this ->firstArgument = $ firstArgument ;
185156 }
157+
158+ /**
159+ * Returns true if the raw parameters (not parsed) contain a value.
160+ *
161+ * This method is to be used to introspect the input parameters
162+ * before they have been validated. It must be used carefully.
163+ *
164+ * @param string|array $values The values to look for in the raw parameters (can be an array)
165+ * @param bool $onlyParams Only check real parameters, skip those following an end of options (--) signal
166+ *
167+ * @return bool true if the value is contained in the raw parameters
168+ */
169+ public function hasParameterOption ($ values , $ onlyParams = false )
170+ {
171+ }
172+
173+ /**
174+ * Returns the value of a raw option (not parsed).
175+ *
176+ * This method is to be used to introspect the input parameters
177+ * before they have been validated. It must be used carefully.
178+ *
179+ * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
180+ * @param mixed $default The default value to return if no result is found
181+ * @param bool $onlyParams Only check real parameters, skip those following an end of options (--) signal
182+ *
183+ * @return mixed The option value
184+ */
185+ public function getParameterOption ($ values , $ default = false , $ onlyParams = false )
186+ {
187+ }
186188}
0 commit comments