public function ScaffoldFileInfo::__construct in Drupal 8
Same name and namespace in other branches
- 9 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;
}