public addArgument ( string $name, integer $flags, string $description = null, mixed $default = null ) : |
||
$name | string | The argument name. |
$flags | integer | A bitwise combination of the flag constants in the {@link Argument} class. |
$description | string | A one-line description of the argument. |
$default | mixed | The default value. Must be `null` if the flags contain {@link Argument::REQUIRED}. |
return | The current instance. |