function AppendOp::scaffoldOverExistingTarget
Overrides AbstractOperation::scaffoldOverExistingTarget
File
- 
              composer/
Plugin/ Scaffold/ Operations/ AppendOp.php, line 144  
Class
- AppendOp
 - Scaffold operation to add to the beginning and/or end of a scaffold file.
 
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function scaffoldOverExistingTarget(OperationInterface $existing_target) {
  $this->originalContents = $existing_target->contents();
  return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.