CommandEnumConstraint
Table of Contents
-
$constraints
: array<string|int, mixed>
-
$enum
: CommandEnum
-
$valueOffset
: int
-
__construct()
: mixed
-
getAffectedValue()
: string
-
getConstraints()
: array<string|int, int>
-
getEnum()
: CommandEnum
-
getValueOffset()
: int
$constraints
private
array<string|int, mixed>
$constraints
$enum
private
CommandEnum
$enum
$valueOffset
private
int
$valueOffset
__construct()
public
__construct(CommandEnum $enum, int $valueOffset, array<string|int, int> $constraints) : mixed
Parameters
-
$enum
: CommandEnum
-
-
$valueOffset
: int
-
-
$constraints
: array<string|int, int>
-
Return values
mixed
—
getAffectedValue()
public
getAffectedValue() : string
Return values
string
—
getConstraints()
public
getConstraints() : array<string|int, int>
Return values
array<string|int, int>
—
getEnum()
public
getEnum() : CommandEnum
Return values
CommandEnum
—
getValueOffset()
public
getValueOffset() : int
Return values
int
—