You are here

protected function LegacyDialogHelperTest::getInputStream in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php \Symfony\Component\Console\Tests\Helper\LegacyDialogHelperTest::getInputStream()
6 calls to LegacyDialogHelperTest::getInputStream()
LegacyDialogHelperTest::testAsk in vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php
LegacyDialogHelperTest::testAskAndValidate in vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php
LegacyDialogHelperTest::testAskConfirmation in vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php
LegacyDialogHelperTest::testAskHiddenResponse in vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php
@group tty
LegacyDialogHelperTest::testAskWithAutocomplete in vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php

... See full list

File

vendor/symfony/console/Tests/Helper/LegacyDialogHelperTest.php, line 175

Class

LegacyDialogHelperTest
@group legacy

Namespace

Symfony\Component\Console\Tests\Helper

Code

protected function getInputStream($input) {
  $stream = fopen('php://memory', 'r+', false);
  fwrite($stream, $input);
  rewind($stream);
  return $stream;
}