4 * This file is part of Psy Shell.
6 * (c) 2012-2017 Justin Hileman
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
15 * A simple class used internally by PsySH to represent silent input.
17 * Silent input is generally used for non-user-generated code, such as the
18 * rewritten user code run by sudo command. Silent input isn't echoed before
19 * evaluating, and it's not added to the readline history.
28 * @param string $inputString
30 public function __construct($inputString)
32 $this->inputString = $inputString;
40 public function __toString()
42 return $this->inputString;