Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac7479 commit 36bbd07Copy full SHA for 36bbd07
1 file changed
Input/InputOption.php
@@ -21,9 +21,24 @@
21
*/
22
class InputOption
23
{
24
+ /**
25
+ * Do not accept input for the option (e.g. --yell). This is the default behavior of options.
26
+ */
27
public const VALUE_NONE = 1;
28
+
29
30
+ * A value must be passed when the option is used (e.g. --iterations=5 or -i5).
31
32
public const VALUE_REQUIRED = 2;
33
34
35
+ * The option may or may not have a value (e.g. --yell or --yell=loud).
36
37
public const VALUE_OPTIONAL = 4;
38
39
40
+ * The option accepts multiple values (e.g. --dir=/foo --dir=/bar).
41
42
public const VALUE_IS_ARRAY = 8;
43
44
private $name;
0 commit comments