Class Symfony\Component\Console\Exception\CommandNotFoundException

InheritanceSymfony\Component\Console\Exception\CommandNotFoundException » InvalidArgumentException
ImplementsSymfony\Component\Console\Exception\ExceptionInterface

Represents an incorrect command name typed in the console.

Method Details

__construct() public method

public void __construct ( $message, array $alternatives = [], $code 0, Exception $previous null )
$message string

Exception message to throw

$alternatives array

List of similar defined names

$code int

Exception code

$previous \Symfony\Component\Console\Exception\Exception

Previous exception used for the exception chaining

getAlternatives() public method

public array getAlternatives ( )
return array

A list of similar defined names