function StreamableInputInterface::setStream
Sets the input stream to read from when interacting with the user.
This is mainly useful for testing purpose.
Parameters
resource $stream The input stream:
1 method overrides StreamableInputInterface::setStream()
- Input::setStream in vendor/
symfony/ console/ Input/ Input.php
File
-
vendor/
symfony/ console/ Input/ StreamableInputInterface.php, line 29
Class
- StreamableInputInterface
- StreamableInputInterface is the interface implemented by all input classes that have an input stream.
Namespace
Symfony\Component\Console\InputCode
public function setStream($stream) : void;