input/DefaultInputHandler.php

Show: inherited
Table of Contents

Prompts using print(); reads input from Console.

Author
Hans Lellelid (Phing)  
Author
Stefan Bodewig (Ant)  
Package
phing.input  
Version
$Id$  

\DefaultInputHandler

Package: phing\input

Prompts using print(); reads input from Console.

Parent(s)
\InputHandler
Author
Hans Lellelid (Phing)  
Author
Stefan Bodewig (Ant)  
Version
$Id$  

Methods

methodprotectedgetPrompt( \$request $request ) : void

Constructs user prompt from a request.

This implementation adds (choice1,choice2,choice3,...) to the prompt for

MultipleChoiceInputRequest
s.

Parameters
Name Type Description
$request \$request

the request to construct the prompt for. Must not be null.

methodpublichandleInput(  $request ) : void

Prompts and requests input. May loop until a valid input has been entered.

Parameters
Name Type Description
$request
Throws
Exception Description
\BuildException
Documentation was generated by DocBlox 0.18.1.