ArgvInput.php
1 year ago
ArrayInput.php
1 year ago
Input.php
1 year ago
InputArgument.php
2 years ago
InputAwareInterface.php
2 years ago
InputDefinition.php
1 year ago
InputInterface.php
1 year ago
InputOption.php
1 year ago
StreamableInputInterface.php
2 years ago
StringInput.php
2 years ago
StreamableInputInterface.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Matomo\Dependencies\Symfony\Component\Console\Input; |
| 12 | |
| 13 | /** |
| 14 | * StreamableInputInterface is the interface implemented by all input classes |
| 15 | * that have an input stream. |
| 16 | * |
| 17 | * @author Robin Chalas <robin.chalas@gmail.com> |
| 18 | */ |
| 19 | interface StreamableInputInterface extends InputInterface |
| 20 | { |
| 21 | /** |
| 22 | * Sets the input stream to read from when interacting with the user. |
| 23 | * |
| 24 | * This is mainly useful for testing purpose. |
| 25 | * |
| 26 | * @param resource $stream The input stream |
| 27 | */ |
| 28 | public function setStream($stream); |
| 29 | /** |
| 30 | * Returns the input stream. |
| 31 | * |
| 32 | * @return resource|null |
| 33 | */ |
| 34 | public function getStream(); |
| 35 | } |
| 36 |