1473. Class

1473.1. Zend\Console\Prompt\Confirm

1473.1.1. Methods

1473.1.1.1. __construct

__construct()

Ask the user for a single key stroke

Parameters:
  • string – The prompt text to display in console
  • string – The “yes” key (defaults to Y)
  • string – The “no” key (defaults to N)

1473.1.1.2. show

show()

Show the confirmation message and return result.

Return type:bool

1473.1.1.3. setNoChar

setNoChar()

@param string $noChar

1473.1.1.4. getNoChar

getNoChar()

@return string

1473.1.1.5. setYesChar

setYesChar()

@param string $yesChar

1473.1.1.6. getYesChar

getYesChar()

@return string

Project Versions

Table Of Contents

Previous topic

1472. Class

Next topic

1474. Class

This Page