CoreFiles by mySites.guru
StreamableInputInterface.php39 lines, 900 bytes, from Joomla_6.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 6.0.0-alpha2
md5
e2462555e5f81069b47d4d9308c2ae3f
sha1
6e54895efe64e03b398808a3ecd2d4d9219d2655
sha256
adddcac84acd0b00ca691ef8014939d550f669fea6c5371f820879bd67e0c3bb
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Console\Input;

/**
 * StreamableInputInterface is the interface implemented by all input classes
 * that have an input stream.
 *
 * @author Robin Chalas <[email protected]>
 */
interface StreamableInputInterface extends InputInterface
{
    /**
     * Sets the input stream to read from when interacting with the user.
     *
     * This is mainly useful for testing purpose.
     *
     * @param resource $stream The input stream
     *
     * @return void
     */
    public function setStream($stream);

    /**
     * Returns the input stream.
     *
     * @return resource|null
     */
    public function getStream();
}

The same content is in 107 releases, Joomla 5.0.0-alpha2 to 6.0.0-alpha3. See them all, or every version of this file.