Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab89a1 commit af8c000Copy full SHA for af8c000
src/Symfony/Component/Console/Style/SymfonyStyle.php
@@ -393,12 +393,15 @@ public function newLine($count = 1)
393
$this->bufferedOutput->write(str_repeat("\n", $count));
394
}
395
396
+
397
/**
- * Sets the input stream used by the SymfonyQuestionHelper.
398
+ * Sets the input stream to read from when interacting with the user.
399
+ *
400
+ * This is mainly useful for testing purpose.
401
*
- * @param resource $stream
402
+ * @param resource $stream The input stream
403
- * @throws InvalidArgumentException If the given stream is not a resource
404
+ * @throws InvalidArgumentException In case the stream is not a resource
405
*/
406
public function setInputStream($stream)
407
{
0 commit comments