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
)
:
void
Constructs user prompt from a request.
This implementation adds (choice1,choice2,choice3,...) to the prompt for
MultipleChoiceInputRequest
s.Name | Type | Description |
---|---|---|
$request | \$request | the request to construct the prompt for. Must not be |


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