PHP Class think\console\output\Ask

Afficher le fichier Open project: top-think/framework Class Usage Examples

Protected Properties

Свойство Type Description
$input think\console\Input
$output think\console\Output
$question Question

Méthodes publiques

Méthode Description
__construct ( Input $input, Output $output, Question $question )
run ( )

Méthodes protégées

Méthode Description
doAsk ( )
getHiddenResponse ( $inputStream )
validateAttempts ( $interviewer )
writePrompt ( ) 显示问题的提示信息

Private Methods

Méthode Description
autocomplete ( $inputStream )
getShell ( )
hasSttyAvailable ( )

Method Details

__construct() public méthode

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

doAsk() protected méthode

protected doAsk ( )

getHiddenResponse() protected méthode

protected getHiddenResponse ( $inputStream )

run() public méthode

public run ( )

validateAttempts() protected méthode

protected validateAttempts ( $interviewer )

writePrompt() protected méthode

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

Property Details

$input protected_oe property

protected Input,think\console $input
Résultat think\console\Input

$output protected_oe property

protected Output,think\console $output
Résultat think\console\Output

$question protected_oe property

protected Question,think\console\output $question
Résultat Question