You are here

public function ScaffoldResult::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/Operations/ScaffoldResult.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult::__construct()
  2. 10 composer/Plugin/Scaffold/Operations/ScaffoldResult.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult::__construct()

ScaffoldResult constructor.

Parameters

\Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $destination: The path to the scaffold file that was processed.

bool $isManaged: (optional) Whether this result is managed. Defaults to FALSE.

File

composer/Plugin/Scaffold/Operations/ScaffoldResult.php, line 36

Class

ScaffoldResult
Record the result of a scaffold operation.

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function __construct(ScaffoldFilePath $destination, $isManaged = FALSE) {
  $this->destination = $destination;
  $this->managed = $isManaged;
}