| 1 | <?php |
||
| 5 | class Radio extends Checkboxes |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Build out the checkboxes |
||
| 9 | * |
||
| 10 | * @param array $options |
||
| 11 | * |
||
| 12 | * @return Checkbox\RadioGroup |
||
| 13 | */ |
||
| 14 | 4 | protected function buildCheckboxes(array $options) |
|
| 18 | |||
| 19 | /** |
||
| 20 | * Take the appropriate action based on the input character, |
||
| 21 | * returns whether to stop listening or not |
||
| 22 | * |
||
| 23 | * @param string $char |
||
| 24 | * |
||
| 25 | * @return bool |
||
| 26 | */ |
||
| 27 | protected function handleCharacter($char) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Format the prompt string |
||
| 44 | * |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | protected function promptFormatted() |
||
| 51 | } |
||
| 52 |