You are here

protected function TableTest::getOutputContent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/TableTest.php \Symfony\Component\Console\Tests\Helper\TableTest::getOutputContent()
6 calls to TableTest::getOutputContent()
TableTest::testRender in vendor/symfony/console/Tests/Helper/TableTest.php
@dataProvider testRenderProvider
TableTest::testRenderAddRows in vendor/symfony/console/Tests/Helper/TableTest.php
@dataProvider testRenderProvider
TableTest::testRenderAddRowsOneByOne in vendor/symfony/console/Tests/Helper/TableTest.php
@dataProvider testRenderProvider
TableTest::testRenderMultiByte in vendor/symfony/console/Tests/Helper/TableTest.php
TableTest::testRowSeparator in vendor/symfony/console/Tests/Helper/TableTest.php

... See full list

File

vendor/symfony/console/Tests/Helper/TableTest.php, line 562

Class

TableTest

Namespace

Symfony\Component\Console\Tests\Helper

Code

protected function getOutputContent(StreamOutput $output) {
  rewind($output
    ->getStream());
  return str_replace(PHP_EOL, "\n", stream_get_contents($output
    ->getStream()));
}