input/DefaultInputHandler.php
Prompts using print(); reads input from Console.
- Author
- Hans Lellelid
(Phing) - Author
- Stefan Bodewig
(Ant) - Package
- phing.input
- Version
- $Id$
\DefaultInputHandler
Package: phing\input
Parameters
Prompts using print(); reads input from Console.
- Parent(s)
- \InputHandler
- Author
- Hans Lellelid
(Phing) - Author
- Stefan Bodewig
(Ant) - Version
- $Id$
Methods

getPrompt(
\$request $request
)
:
voidConstructs user prompt from a request.
This implementation adds (choice1,choice2,choice3,...) to the prompt for
MultipleChoiceInputRequests.| Name | Type | Description |
|---|---|---|
| $request | \$request | the request to construct the prompt for. Must not be |

handleInput(
$request
)
:
voidPrompts and requests input. May loop until a valid input has been entered.
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $request |
| Exception | Description |
|---|---|
| \BuildException |