You are here

private function ProcessHelperTest::getOutput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/ProcessHelperTest.php \Symfony\Component\Console\Tests\Helper\ProcessHelperTest::getOutput()
1 call to ProcessHelperTest::getOutput()
ProcessHelperTest::testVariousProcessRuns in vendor/symfony/console/Tests/Helper/ProcessHelperTest.php
@dataProvider provideCommandsAndOutput

File

vendor/symfony/console/Tests/Helper/ProcessHelperTest.php, line 111

Class

ProcessHelperTest

Namespace

Symfony\Component\Console\Tests\Helper

Code

private function getOutput(StreamOutput $output) {
  rewind($output
    ->getStream());
  return stream_get_contents($output
    ->getStream());
}