Class ConsoleInput
Object wrapper for interacting with stdin
Package: Cake\Console
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Console/ConsoleInput.php
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Console/ConsoleInput.php
Properties summary
-
$_input
protectedresource
Input value.
Method Summary
-
__construct() public
Constructor -
read() public
Read a value from the stream
Method Detail
__construct() public ¶
__construct( string $handle = 'php://stdin' )
Constructor
Parameters
- string $handle optional 'php://stdin'
- The location of the stream to use as input.