# input/YesNoInputRequest.php

Encapsulates an input request that returns a boolean (yes/no).

Author
  Hans Lellelid
Package
  phing.input
Version
  $Revision: 526 $

## \YesNoInputRequest
jump to top

Package: phing\input

Encapsulates an input request that returns a boolean (yes/no).

Parent(s)
  \MultipleChoiceInputRequest < \InputRequest
Author
  Hans Lellelid
Version
  $Revision: 526 $

### Methods

`__construct( ) : void`

`getChoices( ) : void`

`getDefaultValue( ) : void`

`getInput( ) : boolean`

Converts input to boolean.

Returns

Type | Description
--- | ---
boolean |

`getPrompt( ) : void`

`getPromptChar( ) : void`

`isInputValid( ) : true`

Returns

Type | Description
--- | ---
true | if the input is one of the allowed values.

`setDefaultValue( ) : void`

`setInput( ) : void`

`setPromptChar( ) : void`

Documentation was generated by DocBlox 0.17.1.