Back to CliInput class

Method in

public string
in
()
Get a value from standard input.
Returns
  • string The input string from standard input.
Since
  • 4.0.0
-
Class: CliInput
Project: Joomla

Method in - Source code

/**
 * Get a value from standard input.
 *
 * @return  string  The input string from standard input.
 *
 * @codeCoverageIgnore
 * @since   4.0.0
 */
public function in()
{
    return rtrim(fread(STDIN, 8192), "\n\r");
}