PHP 클래스 Pop\Project\Install

저자: Nick Sagona, III ([email protected])
파일 보기 프로젝트 열기: nicksagona/PopPHP 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cliErrorCodes array CLI error codes & messages

공개 메소드들

메소드 설명
cliError ( integer $num, string $arg = null ) : string Return a CLI error message based on the code
cliHelp ( ) : void Print the CLI help message
cliInput ( string $msg = null ) : string Return the (Y/N) input from STDIN
getBootstrap ( ) : string Return the location of the bootstrap file from STDIN
getLanguage ( array $langs ) : string Return the two-letter language code from STDIN
getPop ( ) : string Return the location of the vendor folder and the Pop PHP framework from STDIN
install ( string $installFile ) : void Install the project based on the available config files
instructions ( ) : string Display CLI instructions

메소드 상세

cliError() 공개 정적인 메소드

Return a CLI error message based on the code
public static cliError ( integer $num, string $arg = null ) : string
$num integer
$arg string
리턴 string

cliHelp() 공개 정적인 메소드

Print the CLI help message
public static cliHelp ( ) : void
리턴 void

cliInput() 공개 정적인 메소드

Return the (Y/N) input from STDIN
public static cliInput ( string $msg = null ) : string
$msg string
리턴 string

getBootstrap() 공개 정적인 메소드

Return the location of the bootstrap file from STDIN
public static getBootstrap ( ) : string
리턴 string

getLanguage() 공개 정적인 메소드

Return the two-letter language code from STDIN
public static getLanguage ( array $langs ) : string
$langs array
리턴 string

getPop() 공개 정적인 메소드

Return the location of the vendor folder and the Pop PHP framework from STDIN
public static getPop ( ) : string
리턴 string

install() 공개 정적인 메소드

Install the project based on the available config files
public static install ( string $installFile ) : void
$installFile string
리턴 void

instructions() 공개 정적인 메소드

Display CLI instructions
public static instructions ( ) : string
리턴 string

프로퍼티 상세

$cliErrorCodes 보호되어 있는 정적으로 프로퍼티

CLI error codes & messages
protected static array $cliErrorCodes
리턴 array