CommandParameter
Table of Contents
-
FLAG_FORCE_COLLAPSE_ENUM
= 0x1
-
FLAG_HAS_ENUM_CONSTRAINT
= 0x2
-
$enum
: CommandEnum|null
-
$flags
: int
-
$isOptional
: bool
-
$paramName
: string
-
$paramType
: int
-
$postfix
: string|null
-
enum()
: self
-
postfixed()
: self
-
standard()
: self
-
baseline()
: self
FLAG_FORCE_COLLAPSE_ENUM
public
mixed
FLAG_FORCE_COLLAPSE_ENUM
= 0x1
FLAG_HAS_ENUM_CONSTRAINT
public
mixed
FLAG_HAS_ENUM_CONSTRAINT
= 0x2
$enum
public
CommandEnum|null
$enum
= null
$flags
public
int
$flags
= 0
$isOptional
public
bool
$isOptional
$paramName
public
string
$paramName
$paramType
public
int
$paramType
$postfix
public
string|null
$postfix
= null
enum()
public
static enum(string $name, CommandEnum $enum, int $flags[, bool $optional = false ]) : self
Parameters
-
$name
: string
-
-
$enum
: CommandEnum
-
-
$flags
: int
-
-
$optional
: bool
= false
-
Return values
self
—
postfixed()
public
static postfixed(string $name, string $postfix[, int $flags = 0 ][, bool $optional = false ]) : self
Parameters
-
$name
: string
-
-
$postfix
: string
-
-
$flags
: int
= 0
-
-
$optional
: bool
= false
-
Return values
self
—
standard()
public
static standard(string $name, int $type[, int $flags = 0 ][, bool $optional = false ]) : self
Parameters
-
$name
: string
-
-
$type
: int
-
-
$flags
: int
= 0
-
-
$optional
: bool
= false
-
Return values
self
—
baseline()
private
static baseline(string $name, int $type, int $flags, bool $optional) : self
Parameters
-
$name
: string
-
-
$type
: int
-
-
$flags
: int
-
-
$optional
: bool
-
Return values
self
—