Method | Description | |
---|---|---|
configure ( ) | ||
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | Generate configuration file | |
getQuestion ( string $prompt, string $default ) : Symfony\Component\Console\Question\Question | Build a question | |
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Print welcome message | |
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Interact with user | |
prompt ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $prompt, string $optionName, callable $validator ) | Prompt for an input option. |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | ||
$input | Symfony\Component\Console\Input\InputInterface | The input instance |
$output | Symfony\Component\Console\Output\OutputInterface | The output instance |
return | integer |
protected getQuestion ( string $prompt, string $default ) : Symfony\Component\Console\Question\Question | ||
$prompt | string | |
$default | string | |
return | Symfony\Component\Console\Question\Question |
protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected prompt ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $prompt, string $optionName, callable $validator ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
$prompt | string | |
$optionName | string | For the default value and where the answer is set |
$validator | callable |