Documentation

IArgumentable

Table of Contents

generateUsageMessage()  : string
getArgumentList()  : array<string|int, array<string|int, BaseArgument>>
hasArguments()  : bool
parseArguments()  : array<string|int, mixed>
registerArgument()  : void

Methods

generateUsageMessage()

public generateUsageMessage() : string
Return values
string

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>

Search results