Class InputOption
Represents a command line option.
Namespace: Symfony\Component\Console\Input
Author: Fabien Potencier <fabien@symfony.com>
Api
Located at console/Symfony/Component/Console/Input/InputOption.php
Author: Fabien Potencier <fabien@symfony.com>
Api
Located at console/Symfony/Component/Console/Input/InputOption.php
public
|
#
__construct( string $name, string $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 |