PHP Класс Webmozart\Console\Api\Resolver\CannotResolveCommandException

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Наследование: extends RuntimeExceptio\RuntimeException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
nameNotFound ( string $commandName, CommandCollection $commands, Exception $cause = null ) : static Creates an exception for the code {@link NAME_NOT_FOUND}.
noDefaultCommand ( Exception $cause = null ) : static Creates an exception for the code {@link NO_DEFAULT_COMMAND}.

Описание методов

nameNotFound() публичный статический Метод

Suggested alternatives are searched in the passed commands.
public static nameNotFound ( string $commandName, CommandCollection $commands, Exception $cause = null ) : static
$commandName string The command name that was not found.
$commands Webmozart\Console\Api\Command\CommandCollection A list of available commands that is searched for similar names.
$cause Exception The exception that caused this exception.
Результат static The created exception.

noDefaultCommand() публичный статический Метод

Creates an exception for the code {@link NO_DEFAULT_COMMAND}.
public static noDefaultCommand ( Exception $cause = null ) : static
$cause Exception The exception that caused this exception.
Результат static The created exception.