PHP 8.3.31
Preview: SilentInput.php Size: 894 B
/home/getspomw/royalsquad.us/vendor/psy/psysh/src/Input/SilentInput.php

<?php

/*
 * This file is part of Psy Shell.
 *
 * (c) 2012-2023 Justin Hileman
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Psy\Input;

/**
 * A simple class used internally by PsySH to represent silent input.
 *
 * Silent input is generally used for non-user-generated code, such as the
 * rewritten user code run by sudo command. Silent input isn't echoed before
 * evaluating, and it's not added to the readline history.
 */
class SilentInput
{
    private string $inputString;

    /**
     * Constructor.
     *
     * @param string $inputString
     */
    public function __construct(string $inputString)
    {
        $this->inputString = $inputString;
    }

    /**
     * To. String.
     */
    public function __toString(): string
    {
        return $this->inputString;
    }
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
1.51 KB lrw-rw-rw- 2025-09-17 06:53:38
Edit Download
2.50 KB lrw-r--r-- 2026-04-25 10:49:42
Edit Download
3.82 KB lrw-rw-rw- 2025-09-17 06:53:38
Edit Download
10.99 KB lrw-rw-rw- 2025-09-17 06:53:38
Edit Download
894 B lrw-rw-rw- 2025-09-17 06:53:38
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).