function ScaffoldFileInfo::process
Same name in other branches
- 9 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::process()
- 8.9.x composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::process()
- 10 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::process()
Moves a single scaffold file from source to destination.
Parameters
\Composer\IO\IOInterface $io: The scaffold file to be processed.
\Drupal\Composer\Plugin\Scaffold\ScaffoldOptions $options: Assorted operational options, e.g. whether the destination should be a symlink.
Return value
\Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldResult The scaffold result.
File
-
composer/
Plugin/ Scaffold/ ScaffoldFileInfo.php, line 122
Class
- ScaffoldFileInfo
- Data object that keeps track of one scaffold file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function process(IOInterface $io, ScaffoldOptions $options) {
return $this->op()
->process($this->destination, $io, $options);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.