PHP 클래스 think\console\output\Ask

파일 보기 프로젝트 열기: top-think/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$input think\console\Input
$output think\console\Output
$question Question

공개 메소드들

메소드 설명
__construct ( Input $input, Output $output, Question $question )
run ( )

보호된 메소드들

메소드 설명
doAsk ( )
getHiddenResponse ( $inputStream )
validateAttempts ( $interviewer )
writePrompt ( ) 显示问题的提示信息

비공개 메소드들

메소드 설명
autocomplete ( $inputStream )
getShell ( )
hasSttyAvailable ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Input $input, Output $output, Question $question )
$input think\console\Input
$output think\console\Output
$question Question

doAsk() 보호된 메소드

protected doAsk ( )

getHiddenResponse() 보호된 메소드

protected getHiddenResponse ( $inputStream )

run() 공개 메소드

public run ( )

validateAttempts() 보호된 메소드

protected validateAttempts ( $interviewer )

writePrompt() 보호된 메소드

显示问题的提示信息
protected writePrompt ( )

프로퍼티 상세

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

protected Input,think\console $input
리턴 think\console\Input

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

protected Output,think\console $output
리턴 think\console\Output

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

protected Question,think\console\output $question
리턴 Question