public function ScaffoldResult::__construct in Drupal 10
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/Operations/ScaffoldResult.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult::__construct()
- 9 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\OperationsCode
public function __construct(ScaffoldFilePath $destination, $isManaged = FALSE) {
$this->destination = $destination;
$this->managed = $isManaged;
}