sfCommandArgument
Table of Contents
Constants
-
IS_ARRAY
= 4
-
OPTIONAL
= 2
-
REQUIRED
= 1
Properties
-
$default
: mixed
-
$help
: string
-
$mode
: int
-
$name
: string
Methods
-
__construct()
: mixed
-
getDefault()
: mixed
-
getName()
: string
-
isRequired()
: bool
IS_ARRAY
public
mixed
IS_ARRAY
= 4
OPTIONAL
public
mixed
OPTIONAL
= 2
REQUIRED
public
mixed
REQUIRED
= 1
$default
public
mixed
$default
$help
public
string
$help
$mode
public
int
$mode
$name
public
string
$name
__construct()
public
__construct(string $name[, int $mode = self::OPTIONAL ][, string $help = '' ][, mixed $default = null ]) : mixed
Parameters
-
$name
: string
-
-
$mode
: int
= self::OPTIONAL
-
-
$help
: string
= ''
-
-
$default
: mixed
= null
-
getDefault()
public
getDefault() : mixed
getName()
public
getName() : string
isRequired()
public
isRequired() : bool