Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webmozart
Console
Api
IO
Input
setStream
Webmozart\Console\Api\IO\Input::setStream PHP Method
Input Class Documentation
Show file
Open project: webmozart/console
setStream()
public
method
Sets the underlying stream.
public
setStream
(
Webmozart\Console\Api\IO\InputStream
$stream
)
$stream
Webmozart\Console\Api\IO\InputStream
The input stream.
public function setStream(InputStream $stream) { $this->stream = $stream; }
Input
__construct
close
getStream
isClosed
isInteractive
read
readLine
setInteractive
setStream