Zend\Console\Prompt\PromptInterface
Synopsis
interface PromptInterface
{
- // methods
- public mixed show()
- public mixed getLastResponse()
- public AdapterInterface getConsole()
- public void setConsole()
Methods
public
- getConsole() — Return console adapter to use when showing prompt.
- getLastResponse() — Return last answer to this prompt.
- setConsole() — Set console adapter to use when showing prompt.
- show() — Show the prompt to user and return the answer.