function ScaffoldFileInfo::__construct
Same name in other branches
- 9 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::__construct()
- 8.9.x composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::__construct()
- 10 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::__construct()
Constructs a ScaffoldFileInfo object.
Parameters
\Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $destination: The full and relative paths to the destination file and the package defining it.
\Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface $op: Operations object that will handle scaffolding operations.
File
-
composer/
Plugin/ Scaffold/ ScaffoldFileInfo.php, line 43
Class
- ScaffoldFileInfo
- Data object that keeps track of one scaffold file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function __construct(ScaffoldFilePath $destination, OperationInterface $op) {
$this->destination = $destination;
$this->op = $op;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.