| 1 | <?php |
||
| 28 | class ChooseTask extends AnswerTask |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * Configure the options |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | protected function configureVariables() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Create the question |
||
| 49 | * |
||
| 50 | * @param string $question The question |
||
| 51 | * @param mixed $default Default value |
||
| 52 | * |
||
| 53 | * @return ChoiceQuestion |
||
| 54 | */ |
||
| 55 | protected function createQuestion($question, $default) |
||
| 59 | } |
||
| 60 | ?> |
||
| 61 |