Stub class used by the console integration harness.
This class enables input to be stubbed and have exceptions raised when no answer is available.
A list of replies for read()
Check if data is available on stdin
An optional time to wait for data
True for data available, false otherwise
Read a reply
The value of the reply
Can this instance use readline? Two conditions must be met:
Current message index
Reply values for ask() and askChoice()
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.