CoreFiles by mySites.guru
StreamableInputInterface.php37 lines, 879 bytes, from Joomla_6.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.4.0-beta3
md5
ffe3a8d72e439ae724f82f2a96c23fa3
sha1
023c1ad301528a232f4af188d1f5d815f98ac112
sha256
6dba5d87ffae3f01fe6ab0322187902a1a9c72dd94880a5ab2d4d76446bf628c
<?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): void;

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

The same content is in 47 releases, Joomla 6.0.0-beta1 to 6.2.1-rc1. See them all, or every version of this file.