Class InputOption
Represents a command line option.
Namespace: Symfony\Component\Console\Input
Author: Fabien Potencier fabien@symfony.com
Located at Input/InputOption.php
Author: Fabien Potencier fabien@symfony.com
Located at Input/InputOption.php
public
|
#
__construct( string $name, string|array $shortcut = null, integer $mode = null, string $description = '', mixed $default = null )
Constructor. |
public
string
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
mixed
|
|
public
string
|
|
public
boolean
|
#
equals(
Checks whether the given option equals this one. |
integer |
VALUE_NONE
|
#
1
|
integer |
VALUE_REQUIRED
|
#
2
|
integer |
VALUE_OPTIONAL
|
#
4
|
integer |
VALUE_IS_ARRAY
|
#
8
|