PHP 클래스 Webmozart\Console\Api\Command\CannotAddCommandException

부터: 1.0
저자: Bernhard Schussek ([email protected])
상속: extends RuntimeExceptio\RuntimeException
파일 보기 프로젝트 열기: webmozart/console 1 사용 예제들

공개 메소드들

메소드 설명
nameEmpty ( Exception $cause = null ) : static Creates an exception for the code {@link NAME_EMPTY}.
nameExists ( string $name, Exception $cause = null ) : static Creates an exception for the code {@link NAME_EXISTS}.
optionExists ( string $name, Exception $cause = null ) : static Creates an exception for the code {@link OPTION_EXISTS}.

메소드 상세

nameEmpty() 공개 정적인 메소드

Creates an exception for the code {@link NAME_EMPTY}.
public static nameEmpty ( Exception $cause = null ) : static
$cause Exception The exception that caused this exception.
리턴 static The created exception.

nameExists() 공개 정적인 메소드

Creates an exception for the code {@link NAME_EXISTS}.
public static nameExists ( string $name, Exception $cause = null ) : static
$name string The command name.
$cause Exception The exception that caused this exception.
리턴 static The created exception.

optionExists() 공개 정적인 메소드

Creates an exception for the code {@link OPTION_EXISTS}.
public static optionExists ( string $name, Exception $cause = null ) : static
$name string The command name.
$cause Exception The exception that caused this exception.
리턴 static The created exception.