framework/helpers/BaseConsole.php
public static function stdin($raw = false)
    {
        return $raw ? fgets(\STDIN) : rtrim(fgets(\STDIN), PHP_EOL);
    }
public static function stdin($raw = false)
    {
        return $raw ? fgets(\STDIN) : rtrim(fgets(\STDIN), PHP_EOL);
    }
public static function stdin ( $ raw = false ) { return $ raw ? fgets ( \ STDIN ) : rtrim ( fgets ( \ STDIN ) , PHP_EOL ) ; }
Gets input from STDIN and returns a string right-trimmed for EOLs.

@param bool $raw If set to true, returns the raw string without trimming
@return string the string read from stdin
Gets input from STDIN and returns a string right - trimmed for EOLs .