function CommandNotFoundException::__construct
Parameters
string $message Exception message to throw:
string[] $alternatives List of similar defined names:
int $code Exception code:
\Throwable|null $previous Previous exception used for the exception chaining:
File
-
vendor/
symfony/ console/ Exception/ CommandNotFoundException.php, line 27
Class
- CommandNotFoundException
- Represents an incorrect command name typed in the console.
Namespace
Symfony\Component\Console\ExceptionCode
public function __construct(string $message, array $alternatives = [], int $code = 0, ?\Throwable $previous = null) {
parent::__construct($message, $code, $previous);
}