You are here

public function ScaffoldTestResult::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 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:

string $scaffoldOutput:

File

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

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;
}