function ScaffoldResult::__construct
Same name in other branches
- 9 composer/Plugin/Scaffold/Operations/ScaffoldResult.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult::__construct()
- 8.9.x composer/Plugin/Scaffold/Operations/ScaffoldResult.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult::__construct()
- 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\OperationsCode
public function __construct(ScaffoldFilePath $destination, $isManaged = FALSE) {
$this->destination = $destination;
$this->managed = $isManaged;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.