function Fixtures::getOutput

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php \Drupal\Tests\Composer\Plugin\Scaffold\Fixtures::getOutput()
  2. 8.9.x core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php \Drupal\Tests\Composer\Plugin\Scaffold\Fixtures::getOutput()
  3. 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php \Drupal\Tests\Composer\Plugin\Scaffold\Fixtures::getOutput()

Gets the output from the io() fixture.

Return value

string Output captured from tests that write to Fixtures::io().

1 call to Fixtures::getOutput()
Fixtures::runScaffold in core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php
Runs the scaffold operation.

File

core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php, line 85

Class

Fixtures
Convenience class for creating fixtures.

Namespace

Drupal\Tests\Composer\Plugin\Scaffold

Code

public function getOutput() {
    return $this->io()
        ->getOutput();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.