class CommandNotFoundException extends RuntimeException (View source)

Command not found exception.

Methods

__construct(string $message, AbstractCommand $command, string $argument)

Exception constructor.

void
setArgument(string $argument)

Argument setter.

string
getChild()

Argument getter.

void
setCommand(AbstractCommand $command)

Command setter.

getCommand()

Command getter.

Details

at line line 48
__construct(string $message, AbstractCommand $command, string $argument)

Exception constructor.

Parameters

string $message The Exception message to throw.
AbstractCommand $command Current command to provide information for debug.
string $argument The last argument to auto complete.

at line line 65
void setArgument(string $argument)

Argument setter.

Parameters

string $argument The last argument to auto complete.

Return Value

void

at line line 77
string getChild()

Argument getter.

Return Value

string

at line line 91
void setCommand(AbstractCommand $command)

Command setter.

Parameters

AbstractCommand $command Current command to provide information for debug.

Return Value

void

at line line 103
AbstractCommand getCommand()

Command getter.

Return Value

AbstractCommand $command Current command to provide information for debug.