CoreFiles by mySites.guru
StreamableInputInterface.php37 lines, 873 bytes, from Joomla_5.0.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 4.4.0-alpha4
md5
3ac506264804637412d022becbac10bd
sha1
4536d5d88bf2d967b6a6194343fa093a02d4736e
sha256
bc93f82b7bf5e8365d22870efb49b5cf3f7b807e743d4a4686034a9c1608e4ac
<?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
     */
    public function setStream($stream);

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

The same content is in 142 releases, Joomla 4.0.0-alpha2 to 5.0.0-alpha1. See them all, or every version of this file.