class ScaffoldTestResult in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php \Drupal\Tests\Composer\Plugin\Scaffold\ScaffoldTestResult
Holds result of a scaffold test.
Hierarchy
- class \Drupal\Tests\Composer\Plugin\Scaffold\ScaffoldTestResult
Expanded class hierarchy of ScaffoldTestResult
1 file declares its use of ScaffoldTestResult
- ScaffoldTest.php in core/tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ Functional/ ScaffoldTest.php 
File
- core/tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ ScaffoldTestResult.php, line 8 
Namespace
Drupal\Tests\Composer\Plugin\ScaffoldView source
class ScaffoldTestResult {
  protected $docroot;
  protected $scaffoldOutput;
  /**
   * Holds the location of the scaffold fixture and the stdout from the test.
   *
   * @param string $docroot
   * @param string $scaffoldOutput
   */
  public function __construct($docroot, $scaffoldOutput) {
    $this->docroot = $docroot;
    $this->scaffoldOutput = $scaffoldOutput;
  }
  /**
   * Returns the location of the docroot from the scaffold test.
   *
   * @return string
   */
  public function docroot() {
    return $this->docroot;
  }
  /**
   * Returns the standard output from the scaffold test.
   *
   * @return string
   */
  public function scaffoldOutput() {
    return $this->scaffoldOutput;
  }
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ScaffoldTestResult:: | protected | property | ||
| ScaffoldTestResult:: | protected | property | ||
| ScaffoldTestResult:: | public | function | Returns the location of the docroot from the scaffold test. | |
| ScaffoldTestResult:: | public | function | Returns the standard output from the scaffold test. | |
| ScaffoldTestResult:: | public | function | Holds the location of the scaffold fixture and the stdout from the test. | 
