class CommandNotFoundException extends InvalidArgumentException implements ExceptionInterface

Represents an incorrect command name typed in the console.

Methods

__construct(string $message, array $alternatives = array(), int $code = 0, Exception $previous = null)

No description

array
getAlternatives()

No description

Details

at line 29
__construct(string $message, array $alternatives = array(), int $code = 0, Exception $previous = null)

Parameters

string $message Exception message to throw
array $alternatives List of similar defined names
int $code Exception code
Exception $previous previous exception used for the exception chaining

at line 39
array getAlternatives()

Return Value

array A list of similar defined names