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.
Signature
public function setInputStream(resource
$stream )
Parameters
$stream
— resource- The input stream