You are here

public function DialogHelper::setInputStream in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/DialogHelper.php \Symfony\Component\Console\Helper\DialogHelper::setInputStream()

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:

File

vendor/symfony/console/Helper/DialogHelper.php, line 394

Class

DialogHelper
The Dialog class provides helpers to interact with the user.

Namespace

Symfony\Component\Console\Helper

Code

public function setInputStream($stream) {
  $this->inputStream = $stream;
}