Table of Contents
-
generateUsageMessage()
: string
-
getArgumentList()
: array<string|int, array<string|int, BaseArgument>>
-
hasArguments()
: bool
-
parseArguments()
: array<string|int, mixed>
-
registerArgument()
: void
generateUsageMessage()
public
generateUsageMessage() : string
Return values
string
—
getArgumentList()
public
getArgumentList() : array<string|int, array<string|int, BaseArgument>>
Return values
array<string|int, array<string|int, BaseArgument>>
—
hasArguments()
public
hasArguments() : bool
Return values
bool
—
parseArguments()
public
parseArguments(array<string|int, mixed> $rawArgs, CommandSender $sender) : array<string|int, mixed>
Parameters
-
$rawArgs
: array<string|int, mixed>
-
-
$sender
: CommandSender
-
Return values
array<string|int, mixed>
—
registerArgument()
public
registerArgument(int $position, BaseArgument $argument) : void
Parameters
-
$position
: int
-
-
$argument
: BaseArgument
-
Return values
void
—