PHP 클래스 DbPatch_Command_Runner

저자: Rudi de Vries
파일 보기 프로젝트 열기: dbpatch/dbpatch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$writer DbPatch_Core_Writer | null

공개 메소드들

메소드 설명
__construct ( DbPatch_Core_Writer $writer )
getCommand ( string $command, DbPatch_Core_Console $console ) : DbPatch_Command_Abstract
getValidCommands ( ) : array
getWriter ( ) : DbPatch_Core_Writer
showHelp ( ) : void Show help options of DbPatch

보호된 메소드들

메소드 설명
convertShortCommand ( string $command ) : string Convert short commands to long names

메소드 상세

__construct() 공개 메소드

public __construct ( DbPatch_Core_Writer $writer )
$writer DbPatch_Core_Writer

convertShortCommand() 보호된 메소드

Convert short commands to long names
protected convertShortCommand ( string $command ) : string
$command string
리턴 string

getCommand() 공개 메소드

public getCommand ( string $command, DbPatch_Core_Console $console ) : DbPatch_Command_Abstract
$command string
$console DbPatch_Core_Console
리턴 DbPatch_Command_Abstract

getValidCommands() 공개 정적인 메소드

public static getValidCommands ( ) : array
리턴 array

getWriter() 공개 메소드

public getWriter ( ) : DbPatch_Core_Writer
리턴 DbPatch_Core_Writer

showHelp() 공개 메소드

Show help options of DbPatch
public showHelp ( ) : void
리턴 void

프로퍼티 상세

$writer 보호되어 있는 프로퍼티

protected DbPatch_Core_Writer|null $writer
리턴 DbPatch_Core_Writer | null