CommandResolver

A resolver for commands, so the shell can discover commands.

package

Default

Methods

__construct

__construct() 

baseCommands

baseCommands( $arg0) : \io\vertx\jphp\ext\shell\command\CommandResolver
static

Arguments

$arg0

Vertx

Response

\io\vertx\jphp\ext\shell\command\CommandResolver

the base commands of Vert.x Shell.

commands

commands() : array

Response

array

the current commands

Returns a single command by its name.

getCommand( $arg0) : \io\vertx\jphp\ext\shell\command\Command

Arguments

$arg0

string

Response

\io\vertx\jphp\ext\shell\command\Command

the commad or null