Defines a command line argument. Unlike options, argument don't have names and are identified using an index. The first index is 0 (because we are in the computer world).
package |
Default |
---|
__construct( $argument = null)
mixed | null
getArgName() : string
string
getDefaultValue() : string
string
getDescription() : string
string
getIndex() : integer
integer
isHidden() : boolean
boolean
isMultiValued() : boolean
boolean
isRequired() : boolean
boolean
setArgName( $argName) : $this
string
$this
setDefaultValue( $defaultValue) : $this
string
$this
setDescription( $description) : $this
string
$this
setHidden( $hidden) : $this
boolean
$this
setIndex( $index) : $this
integer
$this
setMultiValued( $multiValued) : $this
boolean
$this
setRequired( $required) : $this
boolean
$this