CoreFiles by mySites.guru
CliInput.php33 lines, 682 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
c2a307500ec5e22dc28e55fac303667e
sha1
7c632e735dc0add59d1a3e4c8fbd679e64e528f0
sha256
6f075524a169b0898bf24a0ef95e285710557403d0089976d455a529ac50428f
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Application\CLI;

defined('JPATH_PLATFORM') or die;

/**
 * Class CliInput
 *
 * @since       __DEPLOY_VERSION__
 * @deprecated  5.0  Use the `joomla/console` package instead
 */
class CliInput
{
	/**
	 * Get a value from standard input.
	 *
	 * @return  string  The input string from standard input.
	 *
	 * @codeCoverageIgnore
	 * @since   __DEPLOY_VERSION__
	 */
	public function in()
	{
		return rtrim(fread(STDIN, 8192), "\n\r");
	}
}

No other release has this exact content. See every version of this file.