Object wrapper for interacting with stdin
$_canReadline protected booleanCan this instance use readline? Two conditions must be met: 1. Readline support must be enabled. 2. Handle we are attached to must be stdin. Allows rich editing with arrow keys and history when inputting a string.
$_input protected resource__construct( string $handle 'php://stdin' )
Constructor
$handle optional 'php://stdin' dataAvailable( integer $timeout 0 )
Check if data is available on stdin
$timeout optional 0 protected boolean
Can this instance use readline? Two conditions must be met: 1. Readline support must be enabled. 2. Handle we are attached to must be stdin. Allows rich editing with arrow keys and history when inputting a string.
© 2005–2018 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/3.5/class-Cake.Console.ConsoleInput.html