Object wrapper for interacting with stdin
boolCan this instance use readline? Two conditions must be met:
resourceInput value.
__construct(string $handle)
Constructor
string $handle optional The location of the stream to use as input.
dataAvailable(int $timeout)
Check if data is available on stdin
int $timeout optional An optional time to wait for data
boolTrue for data available, false otherwise
read()
Read a value from the stream
string|nullThe value of the stream. Null on EOF.
Can this instance use readline? Two conditions must be met:
boolInput value.
resource
© 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.
https://api.cakephp.org/4.1/class-Cake.Console.ConsoleInput.html