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. 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php \Drupal\Tests\Composer\Plugin\Scaffold\ScaffoldTestResult::__construct()
  3. 11.x 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;
}

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