function ScaffoldTestResult::__construct

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

Holds the location of the scaffold fixture and the stdout from the test.

Parameters

string $docroot: The location of the scaffold fixture.

string $scaffoldOutput: The stdout from the test.

File

core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php, line 23

Class

ScaffoldTestResult
Holds result of a scaffold test.

Namespace

Drupal\Tests\Composer\Plugin\Scaffold

Code

public function __construct($docroot, $scaffoldOutput) {
    $this->docroot = $docroot;
    $this->scaffoldOutput = $scaffoldOutput;
}

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